Velocity is the integral of acceleration:
Applying Euler integration again gives:
dt = t1 - t0 Acc = computeAcceleration() Vel = Vel + Acc * dt Pos = Pos + Vel * dt