Function initial_conditions::first_accel [] [src]

pub fn first_accel<T>(v_f: T, v_i: T, t: T) -> T where
    T: Float

First Equation of Motion:

Returns the acceleration (a) given initial and final velocities (v_i and v_f, respectively), over a time (t)

Args

  • v_i: f64 - Initial velocity (m * s)
  • v_f: f64 - Final velocity (m * s)
  • t: f64 - time (s)

Notes: