home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / LinAlg 3.1 / LinAlg / vfminbr.dat < prev    next >
Encoding:
Text File  |  1995-12-21  |  983 b   |  33 lines  |  [TEXT/CWIE]

  1.  
  2.  
  3. -------------------------------------------------------------------------------
  4.         Testing the Brent's one-dimensional minimizer
  5.  
  6.  
  7. For function x^3 - 2*x - 5
  8. the minimum over [0,1] is found to be at    8.164965933e-01
  9. Min function value found    -6.0887e+00
  10. No. of iterations       14
  11. Exact min is at     0.81650
  12.  
  13. For function (x^3 - 2*x - 5)^2
  14. the minimum over [2,3] is found to be at    2.094551483e+00
  15. Min function value found    2.7186e-16
  16. No. of iterations       15
  17. Exact root is       2.0945514815
  18.  
  19. For function (cos(x)-x)^2 - 2
  20. the minimum over [2,3] is found to be at    2.000000048e+00
  21. Min function value found    3.8378e+00
  22. No. of iterations       36
  23.  
  24. For function (cos(x)-x)^2 - 2
  25. the minimum over [-1,3] is found to be at   7.390851269e-01
  26. Min function value found    -2.0000e+00
  27. No. of iterations       18
  28.  
  29. For function (sin(x)-x)^2 + 1
  30. the minimum over [-1,3] is found to be at   3.549018070e-03
  31. Min function value found    1.0000e+00
  32. No. of iterations       60
  33.