Problem set 3 from the MIT course in ugly Latex.