problem 2.17 solution - si-manual