Some chapter 3 exercises.