Calculation of Gravitational Force on Different Celestial Bodies