If you change the initial postion of the moving body (ro.x and ro.y) and the components of its velocity (vxi- and viy-) you will find out its displacement vector between two given moments.

Licencia de Creative Commons Licencia Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 España
logo INTEF
Ministerio de Educación, Cultura y Deporte