Secant Method Function Matlab Example Code For Rotary