Chapter 5 notes and exercises