Numerically solving position and velocity of a particle

vendredi 1 novembre 2013

I have derived a 2nd order differential equation for the position of a particle. I can turn it into a first order ODE by making it an equation for the velocity of a particle, which is easy to solve. Once I have the velocity (which is a large data vector), what is the best way to numerically get the position?



I am using Heun's method for solving the ODE, but I'm confused how to use it for a 2nd order ODE and how to get the velocity AND the position






via Physics Forums RSS Feed http://www.physicsforums.com/showthread.php?t=720330&goto=newpost

0 commentaires:

Enregistrer un commentaire