Computer Exercises and Course Materials

James P. Sethna

for "Statistical Mechanics: Entropy, Order Parameters, and Complexity"

This site includes materials useful in some of the interactive exercises, and also hints for the computer exercises (available both for Mathematica and Python). For python, we recommend the Anaconda Scientific Python distribution. One useful additional step for speed when linear algebra is being done: set the environment variable MKL_NUM_THREADS (e.g., 'export MKL_NUM_THREADS=4' if you run bash, or 'setenv MKL_NUM_THREADS 4' if you run csh or tcsh), replacing '4' with some number <= the number of cores on your machine.

Hints and figures

James P. Sethna, Christopher R. Myers.

Last modified: December 12, 2017

Statistical Mechanics: Entropy, Order Parameters, and Complexity, now available at Oxford University Press (USA, Europe).