pub fn moment_arm(lever_arm: f64, angle_radians: f64) -> Option<f64>Expand description
Computes the perpendicular moment arm from a lever arm and angle in radians.
Formula: r_perp = r * sin(theta)
Returns None when either input is not finite or when the computed result is not finite.
Negative lever arms are allowed.