calculate_loaded_cg

Function calculate_loaded_cg 

Source
pub fn calculate_loaded_cg(total_moment: f64, total_weight: f64) -> Result<f64>
Expand description

Calculates the loaded center of gravity from total moment and total weight. Returns an error if total weight is zero or non-finite.