problem 2.24 solution - si-manual