Textbook examples for chapter 7