a=(vf-vi) / (tf-ti)
vf is the final velocity
vi is the initial velocity
tf is the final time
ti is the initial time
a is the average of acceleration