problem 15.18 solution - si-manual