Old Mathematica Code

Numerical Methods: Mathematica 3.0 Notebooks
(c) John H. Mathews, 1998

To accompany the text:
Numerical Methods:  for Mathematics,
Science, and Engineering, 2
nd Ed, 1992
Prentice Hall, Inc.
Simon & Schuster,  One Lake Street
Upper Saddle River, New Jersey 07458  U.S.A.

Prentice Hall, Inc.; USA, Canada, Mexico ISBN 0-13-624990-6
Prentice Hall, International Editions:      ISBN 0-13-625047-5
www.Prenhall.com

Execute this cell to activate Fixed Point Iteration.
FixedPointIteration[g0_,X0_,tolerance_,max_,digits_]
g0_ the function g(x),
X0_ the starting value,
tolerance_ the preassigned value tolerance,
max_ the maximum number of iterations,
digits_ the number of digits displayed in the output.

[Graphics:../Images/FixedPointProg_gr_5.gif]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004