kinematic formulas code example
Example: kinematic equations
(1) v = v0 + at
(2) Δs = (1/2)(v+v0)t
(3) Δs = s0 + v0t + (1/2)a(t^2)
(4) v^2 = (v0)^2 + 2aΔs
Where...
Initial velocity = v0
Final velocity = v
Acceleration = a
Time = t
Initial position = s0
Final position = s
Displacement = Δs