Download presentation
Presentation is loading. Please wait.
1
Lecture 4: Numerical Methods
False Position (Regula Falsi)
2
Review of Bisection Method
At bisection method, the new position of the estimated root is determined at the middle of the given interval. The interval is divided into two parts and the parts are evaluated to determined where the root is located by checking the change of function signs. Only the interval containing the next root is considered and it is then divided into two to get the estimated root in the middle The outlined step is repeated until the interval is small enough and the consecutive results have no different more then the prescribed tolerance
3
y Bisection Method f(x) The estimated root + + - - + x
4
False Position Method The given interval is divided into two parts
But the division point is calculated using congruent triangle formula, The new intervals may not be the same The calculation involves the lower and upper limits as well as the function value of the lower and upper limits The checking of the parts is still required to determine where the root exist
5
f(x) y f(xu) xl x xu f(xl) False Position Method
It uses linear interpolation equation. f(xu) The new root position is estimated using the following equation. Note: A check for sign change is still required to determine where the interval that contain the root The estimated root (xr) xl x xu f(xl)
6
Example Problem A root of f(x) = 3x – 2 e 0.5 x is known to exist between x = 1 and x = 2. Calculate the guessed location of the root using false position method. Answer: Given xl = 1 and xu = 2, therefore: 1st Iteration f(xl ) = 3 – 2 e 0.5 = and f(xu ) = 3*2 – 2 e 0.5 *2= And and f(xr ) =
7
Since f(xl). f(xr)< 0, the new interval is xl =1 and xu = 1
Since f(xl)*f(xr)< 0, the new interval is xl =1 and xu = nd Iteration It is obtain from the 1st iteration that xl =1 and xu = f(xl ) = and f(xu ) = , therefore: f(xr ) = Since f(xl)*f(xr)< 0, the new interval is xl =1 and xu = rd Iteration It is obtain from the 1st iteration that xl =1 and xu = f(xl ) = and f(xu ) = , therefore: and f(xr ) = x 10-4
8
The complete result for 10 iteration
F(xl) F(xu) xroot f(xroot) 1 2 3 4 5 6 7 8 9 10
9
Comparison with Bisection
Iteration Root Convergence False Position Bisection 1 1.5 2 1.25 3 1.125 4 1.1875 5 6 7 8 9 10
10
Comparison with Bisection
11
Assignment A root is known to exist between x = 0 and x = 1 for the function f(x) = x3 – 4.5 x x – = 0. Find out the root using Bisection Method for the tolerance of A root is known to exist between x = 1 and x = 3 for the function f(x) = 3 x3 + 2 x2 - x – 30 = 0. Find out the root using False Position Method for the tolerance of
12
Thank you
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.