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, I'm a programmer, not a physicist! Thanks in advance for any help.