Solutions to chapter 9