Abstract
This article mathematically examines the energy conservation of explicit Runge–Kutta methods and basic symplectic integration methods for a simple harmonic oscillator and a particle in a magnetic field. With the demonstration of the failure of these methods to conserve the energy of a particle in a magnetic field, a new integration method is presented for this type of system where energy conservation is dictated by the type of floating point variable used, not the size of the time step or the method order. Higher order versions of the method improve the accuracy in the calculation of the particle position and allow for more accurate calculations of the velocity in a spatially varying field. Furthermore, the new method is demonstrated to have improved phase accuracy when compared to several common implicit methods.
Published Version
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have