End chapter 9 exercises (9.6)