The intensity of gravity, g, is not a true constant, as it changes with
altitude. In the following visual you can verify how its value varies
at very different points, even inside the planet.
Licencia
Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 España Ministerio
de Educación, Cultura y Deporte