Pressure of ideal gas from height and temperature¶
The barometric formula determines the dependence of the pressure or density of a gas on the height in the gravity field.
Notation:
\(g\) (
g
) isacceleration_due_to_gravity
.\(k_\text{B}\) (
k_B
) isboltzmann_constant
.
Conditions:
The gas is ideal.
The gas is in a uniform gravity field.
Links:
- initial_pressure¶
pressure
of the gas at initial height.- Symbol:
p_0
- Latex:
\(p_{0}\)
- Dimension:
pressure
- height_change¶
Change in
height
betweeninitial_pressure
andfinal_pressure
.- Symbol:
Delta(h)
- Latex:
\(\Delta h\)
- Dimension:
length
- temperature¶
temperature
of the gas.- Symbol:
T
- Latex:
\(T\)
- Dimension:
temperature
- law¶
p = p_0 * exp(-g * m * Delta(h) / (k_B * T))
- Latex:
- \[p = p_{0} \exp{\left(- \frac{g m \Delta h}{k_\text{B} T} \right)}\]