Lecture examples for chapter 15