Hey everyone. I am working on a planetary simulation model and am having a bit of trouble with the math. Given the volume and density of a particular planetary body, how do I calculate the mass? Once I have the mass, how do I calculate the orbital distance of a satellite body to said panetary body? I'm sure this is somewhat elementary astrophysics but, in the immortal edited words of Dr. McCoy,(adsbygoogle = window.adsbygoogle || []).push({}); I'm a programmer, not a physicist!Thanks in advance for any help.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Mass of stellar bodies

**Physics Forums | Science Articles, Homework Help, Discussion**