sag_gradient1: Seek local minimizer of a scalar function f(x) in [ 0.0 , 10.0 ] Graphics saved in "sag.png" it x f(x) f'(x) 0 5.21938 -23.648551 -5.6811006 1 5.503435 -25.159599 -4.9275995 2 5.749815 -26.277644 -4.1249075 3 5.9560604 -27.049676 -3.3452298 4 6.1233219 -27.551181 -2.640641 5 6.2553539 -27.860545 -2.038864 6 6.3572971 -28.043516 -1.5468564 7 6.4346399 -28.148196 -1.157765 8 6.4925282 -28.206567 -0.85767055 9 6.5354117 -28.238491 -0.63048778 10 6.5669361 -28.255698 -0.46084801 11 6.5899785 -28.264875 -0.33544455 12 6.6067507 -28.26973 -0.24341977 13 6.6189217 -28.272284 -0.1762483 14 6.6277341 -28.273623 -0.12740703 15 6.6341045 -28.274321 -0.091992979 16 6.6387041 -28.274686 -0.066366585 17 6.6420225 -28.274875 -0.04784975 18 6.644415 -28.274974 -0.03448411 19 6.6461392 -28.275025 -0.024843959 20 6.6473814 -28.275051 -0.017894659 21 6.6482761 -28.275065 -0.012887082 22 6.6489205 -28.275072 -0.009279709 23 6.6493844 -28.275076 -0.0066815474 24 6.6497185 -28.275078 -0.0048105317 25 6.649959 -28.275079 -0.0034632982 26 6.6501322 -28.275079 -0.0024932905 27 6.6502569 -28.27508 -0.0017949234 28 6.6503466 -28.27508 -0.0012921465 29 6.6504112 -28.27508 -0.00093019173 30 6.6504577 -28.27508 -0.00066962161 31 6.6504912 -28.27508 -0.00048204078 32 6.6505153 -28.27508 -0.00034700535 33 6.6505327 -28.27508 -0.00024979697 34 6.6505452 -28.27508 -0.00017981966 35 6.6505541 -28.27508 -0.00012944535 36 6.6505606 -28.27508 -9.3182689e-05 37 6.6505653 -28.27508 -6.7078546e-05 38 6.6505686 -28.27508 -4.8287172e-05 39 6.650571 -28.27508 -3.4759995e-05 40 6.6505728 -28.27508 -2.5022316e-05 41 6.650574 -28.27508 -1.801255e-05 Step size too small! 42 gradient descent steps were taken. Initial x = 5.219380006447557 f(x) = -23.648551273082248 f'(x) = -5.681100571240044 Final x = 6.650574035923896 f(x) = -28.27507993914412 f'(x) = -1.8012550361490298e-05 Graphics saved in "sag_minimizer.png" sag_gradient1: Normal end of execution.