Equation for Orbits?

Question: Why does the following equation seem to predict stable orbits around the sun as well as for moons…