Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

thanks Using matlab: z(n + 1) = z(n)^2 + c The special case where c = -0.75 is c

ID: 3774627 • Letter: T

Question

thanks

Using matlab: z(n + 1) = z(n)^2 + c The special case where c = -0.75 is called the San Marco fractal. Follow Example 14.1 and create an image using this value of c. For the Mandelbrot image, we started with all z-values equal to 0. You'll need to start with z = x + yi Let both x and y vary from -1.5 to 1.5. Using matlab: Create a program that prompts the user to enter a scalar value for the outside air temperature. If the temperature is equal to or above 80 degree F. send a message to the command window telling the user to wear shorts. If the temperature is between 60 degree F and 80 degree F send a message to the command window telling the user that it is a beautiful day. If the temperature is equal to or below 60 degree F, send a message to the command window telling the user to wear a jacket or coat.

Explanation / Answer

41)

Iteratins=80;

Grid_size=500;

[x,y]=mesh grid(linspace(-1.5,1.5,grid_size),linspace(-1.5,1.5,grid_size)

C=0.75;

Z=x+i*y;

Map=zero(size(x));

For k=1:iterations

Z=z.^2+c;

A=find(abs(z)>sqrt(5));

Map(a)=k;

End

Image(map);

Colormap(jet)