Textbook examples for chapter 3