Computer Science, asked by dewendrasingh9187, 8 months ago

Find the roots of the equation by bisection method. Using c

Answers

Answered by HeAvEnPrlnCesS
3

Program for Bisection Method

Find middle point c= (a + b)/2 .

If f(c) == 0, then c is the root of the solution.

Else f(c) != 0. If value f(a)*f(c) < 0 then root lies between a and c. So we recur for a and c. Else If f(b)*f(c) < 0 then root lies between b and c. So we recur b and c. Else given function doesn't follow one of assumptions.

Similar questions