Local time in Turrialba, Costa Rica

All work
IN PROGRESS

KEPLERHALLEY

TEAM OF 3 · NUMERICAL ANALYSIS (CE-1111) · TEC · 2026

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

  1. Four solvers behind one interface, with guards for missing sign changes, zero derivatives and zero denominators.
  2. Empirical order of convergence estimated against a high-precision reference root and compared with the theory (1, 2, about 1.618 and 2).
  3. Stress test near a parabolic orbit (e = 0.999) with several initial guesses.

STACK

  • Python
  • NumPy
  • Matplotlib

MY CONTRIBUTION

  1. Implemented the four numerical methods.
  2. Built the convergence experiment: per-method report, reference root, order estimation, timing methodology and the error plot.
  3. Integrated the team's modules and wrote the experiment runner.

SCREENS

  1. 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