Conditions
Use Bisection method to calculate the first root for :
f(d)= 257d^2-640d=0
a=0.0000 b=5.0000
Tolerance=0.0500
Solution
The bisection method in mathematics is a root-finding method which repeatedly bisects an interval and then selects a subinterval in which a root must lie for further processing. It is a very simple and robust method, but it is also relatively slow. Because of this, it is often used to obtain a rough approximation to a solution which is then used as a starting point for more rapidly converging methods. The method is also called the binary search method or the dichotomy method
The method is applicable when we wish to solve the equation for the real variable , where is a continuous function defined on an interval and and have opposite signs. In this case and are said to bracket a root since, by the intermediate value theorem, the must have at least one root in the interval .
At each step the method divides the interval in two by computing the midpoint of the interval and the value of the function at that point. Unless is itself a root (which is very unlikely, but possible) there are now two possibilities: either and have opposite signs and bracket a root, or and have opposite signs and bracket a root. The method selects the subinterval that is a bracket as a new interval to be used in the next step. In this way the interval that contains a zero of is reduced in width by 50% at each step. The process is continued until the interval is sufficiently small.
Explicitly, if and are opposite signs, then the method sets as the new value for , and if and are opposite signs then the method sets as the new . (If then may be taken as the solution and the process stops.) In both cases, the new and have opposite signs, so the method is applicable to this smaller interval.
Because the function is continuous, there must be a root within the interval. (Actually, it's obvious to notice, that the root is )
In the first iteration, the end points of the interval which brackets the root are and .
So, .
As and so the next b-point will be c.
New
As so the new a is 1.25, the new b is 2.5
New
New
And so on and so for:
As the tolerance was 0.05, we have a root
We can compare this value with a value 2,4902723735408560311284046692607, which was noticed before. As we see, the calculator's value is very close to the value, given by Bisection method.