By using bisection method the value of x2+x-3=0 in (1,2) (using 2 iteartion) code example Example: bisection method based on IVT, c=(a+b)/2, if(fa*fc<0) b=c else a=c