A collection of small C++ numerical programs written for an undergraduate computational physics course. Most of the programs render directly using the legacy graphics.h BGI library, so compiling and running them interactively is easiest on Windows environments configured with WinBGIm.
Gallery
Chaos in Newton’s Method
Circular Planetary Orbit
Perihelion Precession of Mercury
Heat Equation (Steady State)
Heat Equation (Time-Evolving)
