Skip to main content

balancing_force

Function balancing_force 

Source
pub fn balancing_force(known_torque: f64, lever_arm: f64) -> Option<f64>
Expand description

Computes the balancing force needed at a lever arm to cancel a known torque.

Formula: F_balance = -τ_known / r

Returns None when lever_arm is zero, when either input is not finite, or when the computed result is not finite.