Gaussian random numbers: gaussian_rng.maple.txt, histogram
Stock market simulation: in Octave
Optimization by stumbling downhill: PDF, random_walk.maple.txt, random_walk_with_plot.maple.txt
Airplane boarding problem: Nature news article, Manuscript