Formula For Calculating Velocity