So, root of this quadratic function F(x) will be 2. This equation is equals to 0 when the value of x will be 2 i.e. The root of the function can be defined as the value a such that f(a) = 0. The task is to find the value of root that lies between interval a and b in function f(x) using bisection method.īisection method is used to find the value of a root in the function f(x) within the given limits defined by ‘a’ and ‘b’.
Given with the function f(x) with the numbers a and b where, f(a) * f(b) > 0 and the function f(x) should lie between a and b i.e.