Skip to main content

newtonian_pressure_ratio

Function newtonian_pressure_ratio 

Source
pub fn newtonian_pressure_ratio(
    mach: f64,
    slope_rad: f64,
) -> Result<f64, AeroError>
Expand description

The cap’s surface pressure over the free stream’s where its slope to the wind is slope_rad (TN D-4865 eq. 1): (p_t2/p₀ − 1) sin²δ + 1.

§Errors

AeroError::Domain for a Mach number that isn’t finite and above 1, or a slope outside [0, π/2].