bisection(f,a,b,tol​)

버전 1.0.0.0 (1.1 KB) 작성자: N Narayan rao
Bisection Method to find approximate roots of f(x)
다운로드 수: 140
업데이트 날짜: 2016/8/22

라이선스 보기

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
%%
a=0;
b=1;
tol=0.01;
myfun=inline('3.*x+sin(x)-exp(x)');
z=bisection(myfun,a,b,tol);
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.
the
for any reference please visit : https://mat.iitm.ac.in/home/sryedida/public_html/caimna/transcendental/bracketing%20methods/bisection/bisection.html#problems

인용 양식

N Narayan rao (2024). bisection(f,a,b,tol) (https://www.mathworks.com/matlabcentral/fileexchange/58734-bisection-f-a-b-tol), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

image