Skip to main content

rod_moment_of_inertia_about_end

Function rod_moment_of_inertia_about_end 

pub fn rod_moment_of_inertia_about_end(mass: f64, length: f64) -> Option<f64>
Expand description

Computes the moment of inertia of a uniform rod about one end.

Formula: I = (1 / 3) * m * L²

Returns None when mass or length is negative, when either input is not finite, or when the computed result is not finite.