problem 4.40 solution - si-manual