Skip to main content

hohmann_total_delta_v

Function hohmann_total_delta_v 

pub fn hohmann_total_delta_v(
    mu: f64,
    radius_initial: f64,
    radius_final: f64,
) -> Option<f64>
Expand description

Computes the total scalar delta-v magnitude for a Hohmann transfer.

Returns None when either component burn is invalid.

ยงExamples

use use_orbit::hohmann_total_delta_v;

assert!(hohmann_total_delta_v(100.0, 10.0, 20.0).is_some_and(|value| value >= 0.0));