Exercise Solution 9.6
This is easy to implement with analytic software such as Mathematica or MatLab. It can be solved in a spreadsheet, but doing so is cumbersome. The approach is to structure the spreadsheet so iterations can be performed simply by cutting and pasting the same code under itself over and over. See spreadsheet.