| Exam Board | AQA |
|---|---|
| Module | D1 (Decision Mathematics 1) |
| Year | 2012 |
| Session | June |
| Topic | Fixed Point Iteration |
| Line 10 | Let \(A = 1 , B = 1 , C = 1\) |
| Line 20 | Let \(D = A\) |
| Line 30 | Let \(C = C \times B\) |
| Line 40 | Let \(D = D + ( 1 / C )\) |
| Line 50 | If \(B = 4\) then go to Line 80 |
| Line 60 | Let \(B = B + 1\) |
| Line 70 | Go to Line 30 |
| Line 80 | Print 'An estimate of e is', \(D\) |
| Line 90 | End |