IN PROGRESS
KEPLERHALLEY
OVERVIEW
Python study comparing bisection, Newton-Raphson, secant and Steffensen on Kepler's equation for the orbit of comet Halley, measuring iterations, error, residual, execution time and the estimated order of convergence.
NOTES
Orbital elements are real published values for Halley, but the model is an ideal two-body ellipse without perturbations, so positions are idealized. The project is still in progress.
HIGHLIGHTS
- Four solvers behind one interface, with guards for missing sign changes, zero derivatives and zero denominators.
- Empirical order of convergence estimated against a high-precision reference root and compared with the theory (1, 2, about 1.618 and 2).
- Stress test near a parabolic orbit (e = 0.999) with several initial guesses.
STACK
MY CONTRIBUTION
- Implemented the four numerical methods.
- Built the convergence experiment: per-method report, reference root, order estimation, timing methodology and the error plot.
- Integrated the team's modules and wrote the experiment runner.
SCREENS
Orbit of comet Halley with perihelion, aphelion and planet orbits
CHALLENGE
Order-of-convergence estimates get noisy once errors reach round-off, and the bisection error is not monotone. The estimator uses a 1e-14 Newton reference root, discards errors below 1e-12 and uses a geometric mean error ratio for bisection.
TEAM
Team project withDavid Cordero ZúñigaEmeron Wallace Marín