This code simulates some simple dynamical systems using a variety of methods. It was written by Mark Lewis.

The source.