File Exchange

image thumbnail

secant.m

version 1.0.0.0 (1.66 KB) by Aamir Alaud Din
Find the root of an equation using secant's method

3 Downloads

Updated 20 Sep 2013

View License

The function takes three input arguments (function and two initial guesses belonging to the interval). After iterations, it returns the root of the function. The fourth input argument is to change the stopping criteria of the loop.

Comments and Ratings (2)

hey, did i have to have another .m file for the input

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: my_secant(x0,x1,n)