Exercises for chapter 9