Introduction - If you have any usage issues, please Google them yourself
function [x, hist] = secant(x, f, tola, tolr)
SECANT This a secant code with no line search.
This code terminates on small relative-absolute errors function [X, HIST] = SECANT(X, F, TOLA, TOLR) Inputs: X = initial iterate
F = function
TOLA = absolute error tolerance
TOLR = relative error tolerance
Output: X = approximate result