In MATLAB write a function secant.m to apply
the secant method.
function [x,i] = secant(f, x0, x1, tol, maxiters) [x,i] =
secant(f, x0, x1, tol, maxiters)
performs the secant method with f(x), starting at x_0 = x0 and
x_1 = x1, and continuing until either |x_i+1 - x_i| <= tol, or
maxiters iterations have been taken.
The number of iterations, i, is also returned. An error is
raised if the first input is not a function handle. A warning is...