Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 518 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 518 Bytes

Homework 3

Question 1

To create the madelbrot call the following function:

madelbrot()

It takes 3 optional arguments n, N_max, and threshold and saves the output a file called mandlebrot.png. If no arguments are passed the functions default values are n=1000 N_max=50 and threshold=50.

Question 2

To run the markov chain call the following function with values for n and N where n is the length if p in the chain and N is the size of P.

markov_chain(n, N)