Bisection method
Consider the equation f(x) continuous in [x1 , x2 ], we evaluate Xm, the midpoint of the interval.
Xm = (X1+X2)/ 2
For example:
We have two options:
- 1. If f(x1) and f(xm) have opposite signs then we can reduce the range, now instead of [x1 , x2 ] new interval is [x1 , xm ].
- 2. If f(xm) and f(x2) have opposite signs then we can reduce the range, now instead of [x1 , x2 ] new interval is [xm , x2 ].
We can be sure that within these values is the real root because if the function is continuous it must be zero between the selected values.
We have different possible cases working with bisection methods:
Examples:
Advantages & disadvantages of bisection method!
Chris Madden Cartoon
you should check on the grammar of the about-me section :D
ResponderEliminar