Jump to content

Semi-implicit Euler method

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jitse Niesen (talk | contribs) at 10:58, 4 March 2007 (clarify and format). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

where a is a given function, and initial conditions

the Euler-Cromer algorithm produces an approximate discrete solution by iterating

where is the timestep and is the acceleration at the current timestep.

Note the difference from the Euler method: depends on rather than .

Example

The motion of a spring satisfying Hooke's law is given by

The Euler-Cromer algorithm for this equation is

See also =

References

  • Giordano, Nicholas J. (2005). Computational Physics (2nd edition ed.). Benjamin Cummings. ISBN 0-1314-6990-8. {{cite book}}: |edition= has extra text (help); Unknown parameter |coauthors= ignored (|author= suggested) (help); Unknown parameter |month= ignored (help)
  • MacDonald, James. "The Euler-Cromer method". University of Delaware. Retrieved 2007-03-03.