Exercise 7.1

Do exercise 7.1 from the book.