📄 vzeroin.dat
字号:
./vzeroin Testing Brent's root finderFor function x^3 - 2*x - 5, from the Forsythe book,the root over [2,3] is 2.094551482e+00The function value at the root is -1.7764e-15Total iterations 11The expected value of the root is 2.0945515e+00For function cos(x)-x,the root over [2,3] is 2.000000000e+00The function value at the root is -2.4161e+00Total iterations 52For function cos(x)-x,the root over [-1,3] is 7.390851332e-01The function value at the root is 0.0000e+00Total iterations 11The expected value of the root is 7.3908513e-01For function sin(x)-x,the root over [-1,3] is -1.643737357e-08The function value at the root is 0.0000e+00Total iterations 58The expected value of the root is 0.0000000e+00For function HUMPS function Matlab:Demos:zerodemo.m,the root over [0.4,1.6] is 1.299549683e+00The function value at the root is 0.0000e+00Total iterations 14The expected value of the root is 1.2995497e+00Compilation finished at Fri Dec 25 23:18:42
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -