pub fn centripetal_acceleration_from_angular_velocity(
angular_velocity: f64,
radius: f64,
) -> Option<f64>Expand description
Computes centripetal acceleration using a_c = ω²r.
Returns None when radius is negative, when any input is not finite, or when the computed
acceleration is not finite.
§Examples
use use_rotation::centripetal_acceleration_from_angular_velocity;
assert_eq!(centripetal_acceleration_from_angular_velocity(3.0, 2.0), Some(18.0));