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:
- Symbol:
p- Latex:
\(p\)
- Dimension:
pressure
- Symbol:
p_0- Latex:
\(p_{0}\)
- Dimension:
pressure
- Symbol:
m- Latex:
\(m\)
- Dimension:
mass
- height_change¶
Change in
heightbetweeninitial_pressureandfinal_pressure.
- Symbol:
Delta(h)- Latex:
\(\Delta h\)
- Dimension:
length
- temperature¶
temperatureof 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)}\]