The Regula Falsi Method

This Script Demonstrates the use of "The Regula-Falsi Method " in solving the various mathematical Equations.
ダウンロード: 1K
更新 2018/10/2

ライセンスの表示

"The Regula-Falsi Method" uses two initial approximations {x0 , x1} to solve a given equation y = f(x).In this method the function f(x) , is approximated by a secant line, whose equation is from the two initial approximations supplied.The secant line then intersects the X - Axis at third point {x2} .

Upto this point both "The Secant Method" and the "The Regula-Falsi Method" are exactly same. But in the next step, in "The Regula-Falsi Method" we use the "Intermediate Value Theorem" to check whether the "Zero" of the equation y = f(x) lies in the interval {x0,x1} or {x1,x2}.

After the Interval has been found, "The Regula-Falsi Method " is again applied on those two points.

The script proceeds in the same way and performs upto 100 iterations. The Accuracy required (required no. of decimal places) is taken as input from the user. The error between solutions of each iteration is checked every time and if found less than required accuracy, the iterations are stopped.

引用

अंबरीश प्रशांत चांदूरकर Ambarish Prashant Chandurkar (2024). The Regula Falsi Method (https://www.mathworks.com/matlabcentral/fileexchange/68989-the-regula-falsi-method), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2018b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersMathematics and Optimization についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

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