exercises 2.46 - 2.48