Bisection Method

Description

The bisection method is one of the simplest to understand and program and one of the slowest. In order to apply the bisection method, two approximations to a root must be obtained which bracket the root. Moreover, the function evaluated at the two approximations must be of opposite signs, i.e. if a and b are two numbers such that a < b, then f(a)·f(b) < 0. Note that this technique cannot be applied to functions such as f(x) = x².
 

Function List

C Source