Physics · Simulator 007
Launch a satellite sideways from above a planet. Change its starting speed and direction to see circular, elliptical and escape orbits, and check Kepler's laws as it goes.
The satellite feels only the planet's gravity, an inverse-square pull towards the centre:
a = −GM · r / |r|³
Units are scaled so that GM = 1 and the launch distance is r₀ = 1. Two speeds matter:
Below escape speed the path is an ellipse with the planet at one focus (Kepler's first law). The satellite sweeps equal areas in equal times (second law), which the simulator checks using angular momentum L = r × v. Period squared is proportional to the semi-major axis cubed (third law): T = 2π√(a³/GM).
Integration uses velocity Verlet with adaptive sub-stepping near the planet, so energy and angular momentum drift stay tiny.
Two-body point-mass model: no drag, no other planets, no relativity. The planet is drawn to scale (radius 0.3).
At v = 1.2 (sideways), what is the semi-major axis, and how long does one orbit take? Predict, then compare with the readout.
Energy: E = ½(1.2)² − 1 = −0.28. Then a = −GM/(2E) = 1/0.56 ≈ 1.786, and T = 2π·a^1.5 ≈ 15.0 time units, about 2.4 times the circular period. The launch point is now the closest approach (periapsis).