exercise 9.5.2, Page 324