problem 3.50 solution - si-manual