Skip to main content

orbital_radius_from_circular_speed

Function orbital_radius_from_circular_speed 

pub fn orbital_radius_from_circular_speed(mu: f64, speed: f64) -> Option<f64>
Expand description

Computes the circular orbital radius from circular speed.

Formula: r = μ / v²

Returns None when mu is negative, when speed is less than or equal to zero, or when the input or result is not finite.