Bisection Method

The bisection method is an approximation method to find the roots of the given equation by repeatedly dividing the interval.

Vous suivez désormais cette soumission

Bisection Function: Used To Determine the Roots of Equation
Function : x=Bisection(f,a,b,tol,Nmax,'Display')
Input : function f, root interval [a b], Tolerance, No. of Iteration,
Display Iteration Option 'Display'
Output : Root
Example :
f=@(x) x^3-x-2;
a=1;
b=2;
tol=10^-6;
Nmax=20;
x=Bisection(f,a,b,tol,Nmax,'Display');

Citation pour cette source

kunal gokhe (2026). Bisection Method (https://fr.mathworks.com/matlabcentral/fileexchange/103960-bisection-method), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : Numerical Methods

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0