HOW DO U COMPUTE g USING THE EQUATION g=GM/r^2

WHEN GIVEN THE QUESTION IN THIS FORM:
"COMPUTE g AT A HEIGHT OF 4 RE ABOVE THE SURFACE OF EARTH"
-basically how can i find the answer to a question given in this form

To compute g using the formula g = GM/r^2, where G is the gravitational constant (approximately 6.6743 × 10^-11 N·(m/kg)^2), M is the mass of the object generating the gravitational field (in this case, the mass of the Earth), and r is the distance between the center of the Earth and the object, you need to follow these steps:

1. Determine the values of G, M, and r:
- The value of G is given as a constant, approximately 6.6743 × 10^-11 N·(m/kg)^2.
- The mass of the Earth, M, is approximately 5.972 × 10^24 kg.
- The distance, r, is the height above the surface of the Earth.

2. Convert the height given above the surface of the Earth into the distance from the center of the Earth:
- Since the height provided is 4 RE (radius of the Earth), multiply it by the radius of the Earth (approximately 6,371 km) to convert it into meters.

3. Substitute the respective values into the formula g = GM/r^2:
- Plug in the values of the gravitational constant G, the mass of the Earth M, and the distance r (converted into meters from step 2) into the formula g = GM/r^2.

4. Simplify the equation and calculate g:
- Calculate g by evaluating the expression g = GM/r^2 using the substituted values from step 3.

By following these steps, you should be able to compute g at a height of 4 times the radius of the Earth above its surface.