problem 5.17 solution - si-manual