Skip to main content

force_from_work

Function force_from_work 

Source
pub fn force_from_work(work: f64, displacement: f64) -> Option<f64>
Expand description

Computes the force required to perform a given amount of work over a displacement.

Formula: F = W / d

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