Formula In Getting The Velocity