Professional Documents
Culture Documents
Introduction
A Mathematical Property
The Bisection Method
Introduction
Bisection Method:
Root of a function:
Example:
A Mathematical Property
b=m;
In the previous example, we have changed the end point b to obtain a smaller interval that still contains
a root. In other cases, we may need to changed the end point b to obtain a smaller interval that still
contains a root
Here is an example where we have to change the end point a:
Example: find the root of f(x) = x2 − 5 between [0, 4]
Rough description (pseudo code) of the Bisection Method
:ROUGH DESCRIPTION (PSEUDO CODE) OF REWRITING THE PSEUDO CODE IN TERMS OF
THE BISECTION METHOD: A WHILE STATEMENT:
Structure Diagram of the Bisection Algorithm
Example execution:
Steps taken by the Bisection Method:
• Iteration 1:
Result: