A test mass moves in the inverse-square field of a central mass M. The orbit is a conic section; for a bound orbit it is an ellipse with the central body at one focus.
r̈ = −GM r / r³, G = 4π² AU³ M☉⁻¹ yr⁻² Kepler II: dA/dt = L/2 = ½ r² θ̇ = const, L = √(GM a (1−e²)) Kepler III: T² = a³ / M Vis-viva: v² = GM (2/r − 1/a), E = −GM / 2aThe page integrates with the symplectic velocity-Verlet method (6000 steps per orbit, 40,000 in the checks). The wedge areas are computed from the exact solution of Kepler’s equation M = E − e sin E and a shoelace sum, independently of the integrator. Five checks compare period, apoapsis speed, wedge-area equality, areal-velocity conservation and energy conservation.
Simplifications: the planet is a test particle (no back-reaction), the star is a point, and there are no perturbations, relativity or tides.