Kepler Equation Newton Iteration
What you are seeing: the orbit of a planet in a Keplerian ellipse (left) and the Newton-iteration history for the Kepler equation (right). At each rAF frame the mean anomaly ticks forward; the solver iterates on until and the planet is placed at on the ellipse.
The right panel shows successive on a log axis. Newton's method has quadratic local convergence: each iteration roughly squares the remaining error. For moderate eccentricity () the residual drops to machine precision in 4-6 iterations; near it takes 10-15.
e (eccentricity)0.500
speed1.00
M (rad):0
E, iter:0, 0
WHAT TO TRY
- Raise the eccentricity toward 1: the planet races through perihelion and crawls through aphelion, and the transcendental Kepler equation M = E - e sin E grows harder to invert.
- Watch the Newton iteration on the right: from a guess it converges on the eccentric anomaly in a few steps, doubling the correct digits each time.
- At high eccentricity a naive starting guess can stall: this little root-find, solved billions of times a day, is the workhorse behind every ephemeris and spacecraft trajectory.