09-Aug-2024 08:46:27 nonlin_regula_test(): MATLAB/Octave version 6.4.0 nonlin_regula() is an interactive program to seek a root of an equation using the regula falsi method. nonlin_regula(): Warning! Iterations reached maximum limit 100 Function = "x^2 - 2*x - 15" a = 4.999999999999999, f(a) = -5.32907e-15 b = 8, f(b) = 33 Interval tolerance = 1.77636e-13 Number of steps = 100 x = 6.5, f(x) = 14.25 Function = "cos(x) - x" a = 0.7390851332151605, f(a) = 3.33067e-16 b = 0.7390851332151607, f(b) = 0 Interval tolerance = 2.22045e-14 Number of steps = 13 x = 0.7390851332151606, f(x) = 1.11022e-16 nonlin_regula(): Warning! Iterations reached maximum limit 100 Function = "x^5 - 2.0" a = 1.148698354997035, f(a) = -3.10862e-15 b = 1.5, f(b) = 5.59375 Interval tolerance = 2.22045e-14 Number of steps = 100 x = 1.324349177498517, f(x) = 2.07392 nonlin_regula(): Warning! Iterations reached maximum limit 100 Function = "kepler(x)" a = 3.485748613461555, f(a) = 0.839447 b = 3.79083455547478, f(b) = -2.22045e-16 Interval tolerance = 2.22045e-13 Number of steps = 100 x = 3.638291584468167, f(x) = 0.408656 nonlin_regula_test(): Normal end of execution. 09-Aug-2024 08:46:27