Textbook examples for chapter 17