Book chapter 3 homework exercise 3.1