problem 2.21 solution - si-manual