The law of universal gravitation to find the acceleration of gravity around the celestial body

The law of universal gravitation to find the acceleration of gravity around the celestial body

It may be a bit messy,
Take the planet as a uniform circular motion, gravity acts as a centripetal force, and gravity is equal to gravity. At this time, there will be
  F=GmM/(R^2) F=mg
Therefore, the gravitational acceleration of a celestial body with mass m at a certain point in space can be calculated by the following formula
That is GM = g (R ^ 2)
(M is the mass of the celestial body, R is the distance from the object's center of mass to the celestial body. G is the gravitational constant.)