Tag: ODE

  • Leapfrog and forward Euler numerical integration.

    Leapfrog and forward Euler numerical integration.

    In this post I’m showing how to program a Leap-Frog integrator. Its performance of it is compared to the Forward-Euler integration method and an analytical solution. The methods are for solving ordinary differential equations. A MATLAB program shows how the methods can be implemented. For the testing, a very simple mechanical system is considered. It…