[solved]-Using Python Consider Complex Polynomial Whose Zeros Three Cube Roots Unity Generate Pictu Q38994083
Using Python:
Consider the complex polynomial ,whose zeros are the three cube roots of unity. Generate a pictureshowing three basins of attraction in the complex plane in thesquare region defined by −1 ≤ Real( ) ≤ 1 and −1 ≤Imaginary( ) ≤ 1. To do this, use a mesh of 1000×1000pixels inside the square. The center point of each pixel is used tostart the iteration of Newton’s method. Assign a particular basincolor to each pixel if convergence to a root is obtained with nmax=10 iterations. The criterion for convergence is to check both
and
with a small value such as
as well as a maximum number of iterations. First debug yourprogram and get a crude picture with only a small number of pixelssuch as 10×10.
You may need to use some Python functions, such asnumpy.meshgrid, matplotlib.pyplot.pcolor.
Please include detailed code.
1_ به => “2 – I+U2 +1 -11<< € = 10-4 Show transcribed image text 1_ به
=> “2 – I+U2
+1 -11
Expert Answer
Answer to Using Python: Consider the complex polynomial , whose zeros are the three cube roots of unity. Generate a picture showin… . . .
OR

