From Wikipedia, the free encyclopedia
The Euler-Cromer algorithm is a modification of the Euler approximation for numerical integration which gives much better results for oscillatory solutions.
Given a pair of differential equations of the form


and initial conditions

an approximate discrete solution is given by


where
is the timestep.