<< Equation Solver (eqnsolver) Equation Solver (eqnsolver) nrsolve >>

Equation Solver (eqnsolver) >> Equation Solver (eqnsolver) > bsolve

bsolve

Finds the root of an equation within a given interval using the Bisection Method.

Calling Sequence

c = bsolve(a,b,f,tol)

Arguments

a

Initial Guess 1(such that the root lies between a and b)

b

Initial Guess 2(such that the root lies between a and b)

f

equation(function) whose root is to be estimated

tol

Tolerance or acceptable error

c

root of the equation in the interval [a,b]

Description

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.

Examples

deff('a=f(x)','a=9*x^3-81');
bsolve(0,25,f,0.00000001)

See Also


Report an issue
<< Equation Solver (eqnsolver) Equation Solver (eqnsolver) nrsolve >>