Textbook examples for chapter 12