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.
Fast Fourier transform
In this article, I propose a simple program in Python where I compare the numerical Fourier transform of a Gaussian wavepacket to the analytical solution.
Introduction
Welcome to the Computational Science Survival Guide!