1 | Introduce 3 vectors X V A for position,velocity and acceleration of particles |
2 | Numerical techniques iterate equations over time using |
3 | Euler's Equation gives: |
4 | X(t+dt) = X(t) + h * V(t) |
5 | V(t+dt) = V(t) + h * Grav(X(t)) |
6 | Note i labels particles not time steps |