first approximate root in bisection method if f(a) and f(b) is of opposite sign code example Example: bisection method based on IVT, c=(a+b)/2, if(fa*fc<0) b=c else a=c