Book exercise, chap. 2, calculations