\ HW results for function 1/r^3 - 1/r + r + x \ where r = sqrt(x^2+y^2) \ Exact minimum, found using \ \ grad f(x,y) = 0 \ \ x = -sqrt(3), y = 0, \ f_min = -0.384900 3e0 fsqrt fnegate fdup f. -1.73205 ok 0e0 hw f. -.384900 ok \ test results: 1000 TO Ntimes ok use( HW 10e0 )anneal (x,y) = .588111 1.11159 f_min = 1.55331 ok use( HW 10e0 )anneal (x,y) = -1.37407 -.426150 f_min = -.294686 ok use( HW 1e0 )anneal (x,y) = -1.58128 .084219 f_min = -.377421 ok use( HW 1e0 )anneal (x,y) = -1.73159 .017814 f_min = -.384809 ok use( HW .1e0 )anneal (x,y) = -1.62740 -.015000 f_min = -.382396 ok use( HW .1e0 )anneal (x,y) = -1.85159 -.058348 f_min = -.381593 ok use( HW .1e0 )anneal (x,y) = -1.76887 -.027446 f_min = -.384436 ok use( HW .1e0 )anneal (x,y) = -1.73067 -.026935 f_min = -.384690 ok use( HW .05e0 )anneal (x,y) = -1.70027 .001707 f_min = -.384696 ok use( HW .05e0 )anneal (x,y) = -1.72047 -.044274 f_min = -.384307 ok use( HW .05e0 )anneal (x,y) = -1.69345 .061535 f_min = -.383498 ok use( HW .05e0 )anneal (x,y) = -1.69845 -.012214 f_min = -.384629 ok