problem 2.20 solution - si-manual