False Position (Linear Interpolation) Numerical Method

Function for finding the x root of f(x) to make f(x) = 0, using the false position bracketing method
ダウンロード: 514
更新 2017/2/21

ライセンスの表示

% Inputs: with examples
% AF = anonymous function equation: AF = @(x) 1-((20^2)./(9.81*(((3*x)+((x.^2)/2)).^3))).*(3+x);
% xb = initial guess x bracket = [xL xU], where xL = lower boundary x and xU = upper boundary x: xb = [0 2.5];
% ed = desired approximate relative error = |(current - previous)/current|: ed = 0.01;
% Outputs
% xR = x root
% err = approximate relative error
% n = number of iterations
% xRV = x root vector
% errV = approximate relative error vector
% AFD1 = anonymous function 1st derivative
% AFD2 = anonymous function 2nd derivative

引用

Roche de Guzman (2024). False Position (Linear Interpolation) Numerical Method (https://www.mathworks.com/matlabcentral/fileexchange/61686-false-position-linear-interpolation-numerical-method), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2015b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersInterpolation についてさらに検索
謝辞

ヒントを与えたファイル: Numerical Methods

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0