Lecture examples for chapter 19