Warning: X does not support locale en_US.UTF-8 06-Jul-2023 21:22:48 nonlin_regula_test(): MATLAB/Octave version 9.14.0.2206163 (R2023a) nonlin_regula() is an interactive program to seek a root of an equation using the regula falsi method. Function = "x^2 - 2*x - 15" a = 4.999999999999998, f(a) = -1.42109e-14 b = 5, f(b) = 0 Interval tolerance = 1.77636e-13 Number of steps = 30 x = 4.999999999999999, f(x) = -5.32907e-15 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. 06-Jul-2023 21:22:48