LISTING OF PROGRAM ITER

1 PROGRAM

2 SIGNIFIC 15

3 X=5

4 FOR I=1,9

5 XP=(5-EXP(-X))

6 PRINT I XP

7 X=XP

8 ENDLOOP I

9 END

 

EXECUTE ITER

I =  1   XP =  4.99326205300092

I =  2   XP =  4.99321649977589

I =  3   XP =  4.99321619075854

I =  4   XP =  4.99321618866222

I =  5   XP =  4.993216188648

I =  6   XP =  4.99321618864791

I =  7   XP =  4.9932161886479

I =  8   XP =  4.9932161886479

I =  9   XP =  4.9932161886479