Working through problem 3.