Runge-kutta methods

From HandWiki
Revision as of 10:47, 5 August 2021 by imported>PolicyEnforcerIA (attribution)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Runge-Kutta (RK) methods for numerical integration of ordinary differential equations are popular because of their simplicity and efficiency. They are considered a class different from the predictor-corrector methods or PC methods, although the RK and PC methods are very similar in many respects.

The fourth-order RK method of Nystrom for second-order equations

File:Hepa img968.gif

has proved very useful in application to the tracking of charged particles in magnetic fields. It consists of the formulae

File:Hepa img969.gif

This formulation is taken from Abramowitz74 (algorithm 25.5.20), and minimizes the number of evaluations of the magnetic field (in practice only two evaluations per step are needed, since y4 is close to y(x+h), and the next step can be started using the latest field values from the present step).

If applied to the equation File:Hepa img970.gif , written in the form File:Hepa img971.gif with File:Hepa img972.gif , the Nystrom method reduces to Simpson's rule

File:Hepa img973.gif

For a more detailed discussion, e.g. Wong92, Press95, or Flowers95.