problem 1.18 solution - si-manual