Wouldn't it be better to just add an argument for which celestial body the calculation is being performed for? This would be more flexible in the future.
I guess this would work well for other bodies as well, like moons.
I guess this would work well for other bodies as well, like moons.