Show that the variation of pressure with altitude for a planetary atmosphere (assuming constant temperature) is
where g is taken to vary as l/r2 (with r being the distance from the center of the planet), p0 is the pressure at the surface, R is the radius of the planet, and k is a constant. Verify that this result reduces to Eq. 15-12 for locations close to the surface.