Secant Method Function Matlab Code Examples