problem 3.17 solution - si-manual