Assume the atmosphere to be an ideal gas of constant specific heat ratio $\gamma=C_p / C_v$. Also assume the acceleration due to gravity, $g$, to be constant over the range of the atmosphere. Let $z=0$ at sea level, $T_0, p_0$, $\rho_0$ be the absolute temperature, pressure, and density of the gas at $z=0$.
(a) Assuming that the thermodynamic variables of the gas are related in the same way they would be for an adiabatic process, find $p(z)$ and $\rho(z)$.
(b) Show that for this case no atmosphere exists above a $z_{\max }$ given by $z_{\max }=\frac{\gamma}{\gamma-1}\left(\frac{R T_0}{g}\right)$, where $R$ is the universal gas constant per gram.