chapter 5
chapter 4 problem 11 R solution