Hak
- 709
- 56
Thanks. I get:erobz said:The method of separation of variables... All factors involving ##\rho## on the left, and everything involving ##h## on the right.
$$ \frac{d \rho}{\rho} = \left(T_0 \beta - \frac{g}{R} \right) \frac{dh}{T(h)} $$
$$ ln |\rho| + c_1 = - \left(T_0 \beta - \frac{g}{R} \right) \frac{ln |1 - \beta h|}{T_0 \beta} + c_2$$, from which:
$$ \rho (h) = e^{- \left(T_0 \beta - \frac{g}{R} \right) \frac{ln |1 - \beta h|}{T_0 \beta} + c}$$.
This is the same result as before, with the difference that I had previously inserted an extra ##h## term, which was wrong.