Finds the root of an equation within a given interval using the Bisection Method.
c = bsolve(a,b,f,tol)
Initial Guess 1(such that the root lies between a and b)
Initial Guess 2(such that the root lies between a and b)
equation(function) whose root is to be estimated
Tolerance or acceptable error
root of the equation in the interval [a,b]
Finds the root of an equation using the Numerical technique of Finding a root called Bisection(Interval-Halving) Method.
NOTE: This method does not find all the roots but only One root between the initial guesses.
To find different roots try using different initial guesses.
deff('a=f(x)','a=9*x^3-81'); bsolve(0,25,f,0.00000001) | ![]() | ![]() |