problem 3.20 solution - si-manual