- #1
cupo
- 1
- 0
Homework Statement
Why are (2) and (4) equations more accurately than (1) and (3) ? Why is 7*dt in (4) equation ? What kind of equations are (2) and (4) ? What method they used to write (3) and (4) equations?
Homework Equations
Velocity:
(1) v = (x - x[i-1]) / (t - t[i-1])
(2) v = (x[i+1] - x[i-1]) / (2*dt)
Acceleration:
(3) a = (v - v[i-1]) / (t - t[i-1])
(4) a = (2*x[i+2] - x[i+1] - 2*x - x[i-1] + 2*x[i-2]) / (7*dt)
The Attempt at a Solution
Verlet algorithm
Finite difference