assigns to each point (x,y) in the complex plane
(with min_re <= x <= max_re, min_im <= y <= max_im)
one of three different colours according to which zero of the
equation x^3 + i = 0 the Newton iteration converges to
if (x,y) is chosen as the starting point.
n_re and n_im determine the number of points between the limits;
tol gives the accuracy.
comp3_newton uses the values min_re = -1.5, max_re = 1.5,
min_im = -1, max_im = 1, n_re = 1000, n_im = 1000, tol = 0.001.
Similar for comp5_newton(min_re,max_re,min_im,max_im,n_re,n_im,tol)
and comp7_newton(min_re,max_re,min_im,max_im,n_re,n_im,tol) for the equations
x^5 + i = 0 and x^7 + i = 0 respectively.
Usage: type unzip comp_newton.zip
Contents: comp3_newton.m comp5_newton.m comp7_newton.m
This file was generated by students as a partial fulfillment
for the requirements of the course "Fractals",
2004/2005, Stuttgart University.