Bisection method

Bisection method for solving equation
1 Descarga
Actualizado 10 abr 2025

Ver licencia

Example : Using bisection method, find the root of f(x) = xlogx - 1.2= 0.
Enter the equations: x*log10(x)-1.2
Enter first guess: 1
Enter second guess: 3
Enter the number of decimal places: 5
a b c f(c)
1.000000 3.000000 2.000000 -0.597940
2.000000 3.000000 2.500000 -0.205150
2.500000 3.000000 2.750000 0.008165
2.500000 2.750000 2.625000 -0.099786
2.625000 2.750000 2.687500 -0.046126
2.687500 2.750000 2.718750 -0.019059
2.718750 2.750000 2.734375 -0.005466
2.734375 2.750000 2.742188 0.001345
2.734375 2.742188 2.738281 -0.002062
2.738281 2.742188 2.740234 -0.000359
2.740234 2.742188 2.741211 0.000493
2.740234 2.741211 2.740723 0.000067
2.740234 2.740723 2.740479 -0.000146
2.740479 2.740723 2.740601 -0.000040
2.740601 2.740723 2.740662 0.000014
2.740601 2.740662 2.740631 -0.000013
No of iteration : 16
The root is :
2.74064

Citar como

Langel Thangmawia (2026). Bisection method (https://la.mathworks.com/matlabcentral/fileexchange/180738-bisection-method), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2024b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas
Versión Publicado Notas de la versión
1.0.1

Example added

1.0.0