problem 3.22 solution - si-manual