compute_stability_coefficient

Function compute_stability_coefficient 

Source
pub fn compute_stability_coefficient(
    inputs: &BallisticInputs,
    atmo_params: (f64, f64, f64, f64),
) -> f64
Expand description

Calculate the gyroscopic stability coefficient (SG) for the bullet.

This function uses the Miller stability formula. An SG value greater than 1.5 is generally considered to indicate adequate stability.

§Arguments

  • inputs - Ballistic input parameters
  • atmo_params - Atmospheric parameters (altitude, temp_c, pressure_hpa, density_ratio)

§Returns

  • Stability coefficient (dimensionless)