Question: Problem 2 . 9 BONUS. Benout B . Mandelbrot, a famous mathematician is known as the inventor of fractals and this problem is dedicated to

Problem 2.9
BONUS. Benout B. Mandelbrot, a famous mathematician is known as the inventor of fractals and this problem
is dedicated to him. In this problem you will generate the so-called quadratic Julia Sets, a well-known fractal
example.
Given two complex numbers, c and z0 the following recursion (it is similar to fixed point iterations) is defined
zn=zn-12+c.
For an arbitrary given choice of c and z0, this recursion leads to a sequence of complex numbers z1,z2,z3,dots
called the orbit of z0. Depending on the exact choice of c and z0, a large range of orbit patterns are possible.
For a given fixed c, most choices of z0 yield orbits that tend towards infinity. (That is,|zn| as n).
For some values of c certain choices of z0 yield orbits that eventually go into a periodic loop. Finally, some
starting values yield orbits that appear to dance around the complex plane, apparently at random (an example
of chaos). These initial values of z0 make up the Julia set of this recursion, denoted by Jc.
Write a MATLAB/GNU Octave/Python script that visualizes a slightly different set, called the filled-in Julia
set denoted by Kc, which is the set of all z0 with orbits which do not tend towards infinity. The "normal" Julia
set Jc is the edge of the filled-in Julia set. The figure below illustrates a filled-in Julia Set for one particular
value of c.
a) It has been shown that if |zn|>2 for some n, then it is guaranteed that the orbit will tend to infinity. The
value of n for which this becomes true is called the escape velocity of a particular z0. Write a function that
returns the escape velocity of a given z0 and c. The function declaration should be: n=EscVel(z0,c,N), where
N is the maximum allowed escape velocity (i.e. if |zn|2 for NM=JuliaSet(zMax,c,N),zMaxz0cNMz0500500-zMaxzMax-zMaxzMaxZyZMMZNzMax,cNarctan(0.1**M)Myn, return Nas the escape velocity, so you
will prevent infinite loops
 Problem 2.9 BONUS. Benout B. Mandelbrot, a famous mathematician is known

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!