Newton 's theory enjoyed its greatest success when it was used to predict the existence of Neptune based on motions of Uranus that could not be accounted for by the actions of the other planets .
His theory about gravitation was used to predict the existence of the planet Neptune based on changes in the orbit of Uranus .