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