Mercury's orbit turns 43 arcseconds a century more than Newton allows. Einstein's new theory gave exactly that.
A planet in Newton's theory, alone with the Sun, moves on an ellipse that closes on itself: after one orbit it is back where it started, and its perihelion, the point closest to the Sun, stays put. Mercury's perihelion does move, by 574 arcseconds a century (an arcsecond is 1/3600 of a degree). The pull of the other planets explains 531 of them. The last 43 arcseconds a century had puzzled astronomers since the 1850s.
On 18 November 1915, a week before he wrote down the final field equations, Einstein presented this short paper to the Prussian Academy. In his theory a planet's orbit does not quite close: each turn, the ellipse rotates by 6πGM/(c²a(1 − e²)), where a is the orbit's semi-major axis and e its eccentricity. For Mercury that is 43 arcseconds a century, the missing amount. Einstein later said the result kept him beside himself with excitement for days.
The calculation behind the button follows the argument step by step, with a note before every line. It uses the exact field of the Sun that Schwarzschild found two months later: from the two quantities every orbit keeps, to the equation for the orbit's shape, to the small extra term that makes the ellipse turn, to the 43 arcseconds. It needs calculus and Newton's orbits, and no earlier relativity.
Redo it in GalileoOpen an empty playground
The calculation opens in the playground and runs step by step, with notes on each step. Change any line and run it again.