In mathematics, the Euler-Cromer algorithm is a modification of the Euler method for solving ordinary differential equations. It gives much better results for oscillatory solutions.
Given a pair of differential equations of the form
and initial conditions
the Euler-Cromer algorithm produces an approximate discrete solution by iterating
where is the timestep.
See also =