Answers to exercises in chapter 2.