How to integrate the equations of motion
gafferongames.com