Textbook examples for chapter 8