File Exchange

image thumbnail


version (1.1 KB) by N Narayan rao
Bisection Method to find approximate roots of f(x)

1 Download

Updated 22 Aug 2016

View License

Bisection method is the simplest among all the numerical schemes to solve the transcendental equations. This scheme is based on the intermediate value theorem for continuous functions
example :
% clear all
% clc
% x=-3:0.1:3;
% y=3.*x+sin(x)-exp(x);
% plot(x,y)
% grid on
the above function has two roots in between -1 to 1 and in between 1 to 2.
for 1st root we assign a=-1 ; b=1; and for 2nd root we assign a=1; b=2.
for any reference please visit :

Cite As

N Narayan rao (2021). bisection(f,a,b,tol) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!