Chapter 3: Programming in Mathematica