The Computational Science Survival Guide

Free science with open source software

Leapfrog integration

Knowing how to integrate ordinary differential equations is a crucial skill in computational science. In this article, I show how to integrate the equations of motion of the driven harmonic oscillator with the leapfrog technique, in Python.