Textbook examples for chapter 21