- #1
Nikitin
- 735
- 27
Hi, I'm just playing a bit with the numbers... The gravitational strength of a planet really depends on its density, but I'm wondering how I'm supposed to create a formula where gravity is the function of a planet's average density..
M= mass of planet. G= Newton's gravitational constant. r= average radius of planet.
Strength of a gravitational field: M*G/r^2 = g. Density of a planet: M/[(4/3)pi*r^3] = density
How can I create a function for g where density is the variable?
The closest I'm coming to is g(density)= (density*4*pi/3)*G*r, and this is by incerting the M=density*[(4/3)pi*r^3] into the strength of a gravitational field formula.
And all help is appreciated ;) Thank you in advance
M= mass of planet. G= Newton's gravitational constant. r= average radius of planet.
Strength of a gravitational field: M*G/r^2 = g. Density of a planet: M/[(4/3)pi*r^3] = density
How can I create a function for g where density is the variable?
The closest I'm coming to is g(density)= (density*4*pi/3)*G*r, and this is by incerting the M=density*[(4/3)pi*r^3] into the strength of a gravitational field formula.
And all help is appreciated ;) Thank you in advance
Last edited: