Function initial_conditions::work [] [src]

pub fn work<T>(f: &T, theta: &T, d: &T) -> T where
    T: Float

Work (constant acceleration):

Returns work in Newton-meters. Work, here, is calculated assuming a constant Force (f) over an angle (theta) across a distance (d).

Args

  • f: f64 - force in newtons
  • theta: f64 - angle in radians
  • d: f64 - distance in meters

Notes:

See here for more info