problem 5.39 solution - si-manual