Textbook examples for chapter 20