Newton for sin z — Fantastic Fractal Explorer
Newton for sin z
Newton's method finds where a function is zero by repeating one step: from a guess , follow the tangent line down to zero. For the step is
with . The zeros of are the multiples of : , , , and so on, infinitely many in a row along the real axis.
Every pixel is a first guess, colored by the zero it ends up at. Near a zero the guesses go straight to it, so the plane is cut into bands, one for each multiple of . Between the bands the guesses land close to a point where , where the tangent is flat and the next step is thrown far away, to any zero at all. There every band gets mixed with every other, and the pattern repeats at every scale. Far above or below the real axis is almost , so each step moves the guess straight back towards the axis by about one.
The point relaxes the step: is Newton's method, a smaller takes shorter steps, and a complex makes them turn. Points that never settle on a zero are black.
Parameters
GUI Parameters
- Iterations: The most steps taken from each point before it counts as not settling.
Complex Parameters (Control Points)
- a: The relaxation, the factor on each step; (the start) is Newton's method.