Bisection Method
Bisection Method
Choose lower xL and upper xu guess of the root such that the function changes
sign over the interval. This can be checked by ensuring that f(xL) f(xu) < 0
Step-3. Make the following evaluations to determine in which sub-interval the root lies:
a. If f(xL) f(xr) < 0 , the root lies in lower sub – interval. Therefore set xu = xr
and return to step 2 and repeat the process.
b. If f(xL) f(xr) > 0 , the root lies in the upper sub – interval. Therefore set xL = xr
and return to step 2 and repeat the process.
c. If f ( x L ) f ( x r ) ≅ 0, the root equals xr ; terminate the computation.