Chapter Two numerical method
Chapter Two numerical method
1. Modeling
4. Execution
5. Interpretation of results
1. Find a and b in which f(a) and f(b) are opposite signs for the
4. A convenient criterion is to
compute the percentage error
1. Termination after N steps (N
is defined by;
given, fixed)
2. Termination if(xn+1 - xn ≤Ԑ xn xn 1
er x100%
(Ԑ> 0 given) xn
3. Termination if f(xn)≤α (α>0 • The computations can be
given). terminated when relative
error becomes less than a
prescribed tolerance.
• As iterations are conducted, the length of the interval gets halved. So one can
• If one of the initial guesses a or b is closer to the exact solution, it will take
larger number of iterations to reach the root
Example:
• It is an open method
practical problems.
f ( xn) f ( xn 1)
f ' ( xn)
xn xn 1
Then Newton formula becomes
f ( xn)( xn xn 1 )
xn 1 xn
f ( xn) f ( xn 1)
1. Bisection
2. Newton method
3. Secant method