Skip to main content

lever_arm_from_torque

Function lever_arm_from_torque 

pub fn lever_arm_from_torque(applied_torque: f64, force: f64) -> Option<f64>
Expand description

Computes the lever arm required to produce a known torque from a force.

Formula: r = τ / F

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