Velocity-time graph calculator