nlm(function(x) return(3x^2-3x+1),100) 最小值
$minimum
[1] 0.25
$estimate
[1] 0.4999995
$gradient
[1] -2.220446e-10
$code
[1] 1
$iterations
[1] 2
生活、成长记录
nlm(function(x) return(3x^2-3x+1),100) 最小值
$minimum
[1] 0.25
$estimate
[1] 0.4999995
$gradient
[1] -2.220446e-10
$code
[1] 1
$iterations
[1] 2