# Nucleus
The nucleus
of a hyperbolic component of period
satisfies:
Applying Newton’s method in one complex variable:
A reasonable starting guess for Newton’s method is within the atom
domain of the component: Mandelbrot
set Newton basins (2012). Note however, that even points in the atom
domain might not converge to the desired root.
# 1 C99 Code
#include <complex.h>
double _Complex m_nucleus
(double _Complex c0, int p, int n)
{
double _Complex c = c0;
for (int m = 0; m < n, ++m)
{
double _Complex z = 0;
double _Complex dc = 0;
for (int i = 0; i < p; ++i)
{
dc = 2 * z * dc + 1;
z = z * z + c;
}
c = c - z / dc;
}
return c;
}
# 2 Examples
,
:
,
: