Artificial intelligent assistant

Differential Equations: Calculating Barometric Pressure at an Altitude I'm trying to solve a differential equation problem that has to do with barometric pressure at a certain altitude. The rate at which barometric pressure decreases with altitude is proportional to the pressure at that altitude. If the altitude in feet, then the constant of proportionality is 3.7 x 105. The barometric pressure at sea level is 29.92 inches of mercury. How would I calculate the barometric pressure, in inches of mercury, at any altitude using the information above? The differential equation that I came up with looks like this: Let $P=$ Barometric Pressure Let $a=$ Altitude $\dfrac{dP}{da}=-k(29.92-P)$ But when I solve it, it doesn't look like it's the right answer. Thanks for your help!

Pressure decreases exponentially with altitude and thats what you will get provided you fix your signs in the equation. Your equation will look like:

$\frac{dP}{da} = -kP$

where $k$ is some positive constant.

Solve this to get $P(a) = P(0) e^{-ka}$.

and at $a = 0$, $P(0) = 29.92$. Make sure to keep track of all your units.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy aaade830ab92738960d35ca84e4a5b0f