Skip to main content

total_pressure

Function total_pressure 

Source
pub fn total_pressure(
    atmospheric_pressure: f64,
    density: f64,
    g: f64,
    depth: f64,
) -> f64
Expand description

Total pressure at depth: P = P_atm + ρ * g * h