miss_distance_km

Function miss_distance_km 

Source
pub fn miss_distance_km(
    accel_m_s2: f64,
    burn_time_s: f64,
    pointing_error_rad: f64,
) -> f64
Expand description

Miss distance (km) from pointing error during a constant-thrust burn.

For a burn of duration t seconds at acceleration a m/s², a pointing error of theta radians produces a lateral displacement: miss = 0.5 * a * t² * sin(theta) For small angles: miss ≈ 0.5 * a * t² * theta

Returns miss distance in km.