A simple 1D code to learn about the DFT, spectral methods, and pseudo-spectral methods.