Bisection method

Bisection method

您现在正在关注此提交

This code is for bisection method having the stopping criterion as number of iterations. This function accepts three arguments which is the bracket values [x1 x2] and number of iterations which is n. You will need a function to execute this code which is also attached here. Equation on which bisection method is ought to be applied can be changed with in the function file named f.m

引用格式

Sander Khowaja (2026). Bisection method (https://ww2.mathworks.cn/matlabcentral/fileexchange/48321-bisection-method), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: bisection.m

类别

Help CenterMATLAB Answers 中查找有关 Linear Programming and Mixed-Integer Linear Programming 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.2.0.0

function need for this file is
function fx = f(x);
fx = x^2/2-3; %% Enter your function here.
return;

1.1.0.0

function need for this file is
function fx = f(x);
fx = x^2/2-3; %% Enter your function here.
return;

1.0.0.0