Acceleration due to gravity 'g' in terms of mean density of the Earth 'd' and radius 'R' is:
(G is universal gravitational constant)