problem 2.22 solution - si-manual