09-Aug-2024 09:25:55 nonlin_secant_test(): MATLAB/Octave version 6.4.0 nonlin_secant() is an interactive program to seek a root of an equation using the secant method. Tolerance = 2.22045e-15 Number of steps = 11 a = -3.000000000005028, f(a) = 4.02274e-11 b = -3, f(b) = 0 status = "Convergence: very small function value!" Tolerance = 2.22045e-14 Number of steps = 8 a = 3.790834555849615, f(a) = -9.71978e-10 b = 3.790834555474779, f(b) = 1.11022e-15 status = "Convergence: very small function value!" Tolerance = 2.22045e-15 Number of steps = 7 a = 0.7390851332151758, f(a) = -2.53131e-14 b = 0.7390851332151606, f(b) = 1.11022e-16 status = "Convergence: very small function value!" Tolerance = 2.22045e-15 Number of steps = 50 a = -0.6394410365311047, f(a) = 1.40888 b = 7.524666799898133, f(b) = 57.6206 status = "Failure: too many steps!" nonlin_secant_test(): Normal end of execution. 09-Aug-2024 09:25:55