Application of Bisection Method Presenting: c
Presenters : Faisal Zubi
Oldest known approximation Problem Numerical Computation; Root - finding Problem: Eq. :- Root Approximate 1700 B.C. traced back Intermediate Value Theorem----1 st technique BISECTION Method z Find_ root ‘x’ ? Eq.—form : f(x) = 0 given ‘f’ Number ‘x’ -> zero of ‘f’ Kind of Binary Search Efficient than stepwise search
m. Function----continuous. F(x) +/- [ _,_ ] F(x) = 0. Put ‘x’ and When root lies :-
Bisection Method : ‘ f ’ __ continuous function l x3 f(x3) = 0 f(x 1 ) & f(x 2 ) ________ +/- Procedure __ work only when Remember [x 1,x 2 ] f(x1) & f(x2) opposite sign
x 3 midpoint [x 1,x 2 ] = 1 / 2 (x1 + x2) f (x3) = 0 ___ x = x3 ROOT if else f(x3) /+, - / - f(x1) or f(x2) if f(x3) & f(x1) ___ same sign x (x3,x2) set x1 = x3 if f(x3) & f(x1) ___ opposite sign x (x1,x3) set x2 = x3 z
Drawback : Slow in converging i.e. # of iterations ___ quite large Property : Always converges solution z
Demonstration g x1 f(x1) x2 f(x2) _ +
k x3 f(x3) _ x1 f(x1) x2 f(x2) +
g x4 f(x4) x3 f(x3) _ x1 f(x1) x2 f(x2) +
m x5 f(x5) x4 f(x4) x3 f(x3) _ x1 f(x1) x2 f(x2) +
Application t Zero degree Celsius With time, temp. Temp. 0 C Machine Shut down _ operation time 9 hrs. _ Machine switch off _ Temp. 0 C ‘machine’ if
r x (time,hr) f(x) (temp. Celsius) Table of the machine:
s From divided difference method Get the function of the plant P7(x) = (x-0)(1.66) + (x-0)(x-3)(0.068) + (x-0)(x-3)(x-5)(0.0170)+ (x-0)(x-3)(x-5)(x-7)( ) + (x-0)(x-3)( x-5)(x-7)(x-9)(0.0025) + (x-0)(x-3)(x-5)(x-7)(x-9)(x-11)( ) + (x-0)(x-3)(x-5)(x-7)(x-9)(x-11)(x-13)( ). K Where ‘K’……..any constant, representing the environmental temp.
l hrs. temp. [ 0,15 ]
w Atif Abbas