The Secant Method
"The Secant Method" uses two initial approximations 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. This third point and the second point are the again used as two initial approximations to find the fourth point.
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.
Citation pour cette source
अंबरीश प्रशांत चांदूरकर Ambarish Prashant Chandurkar (2024). The Secant Method (https://www.mathworks.com/matlabcentral/fileexchange/68983-the-secant-method), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.1 | Author name correction |
||
1.0.0 |