In 1846 three astronomers and mathematicians discovered Neptune because Uranus wasn't quite moving as Newton's law of gravity explains. So they did calculations and point the telescope at a specific part of the sky. They discovered Neptune. What formulas did they use? How did they calculate this kind of hard problem?