Code for problem 32D.
Code for problem 34A.