Secant Method Function Matlab Code Writer