永发信息网

编写R函数,在不求导的情况下估计一元函数在给定区间的何处取得最大值

答案:2  悬赏:60  手机版
解决时间 2021-01-02 12:30
  • 提问者网友:凉末
  • 2021-01-02 03:28
不能使用optimize()等既有函数
最佳答案
  • 五星知识达人网友:愁杀梦里人
  • 2021-01-02 03:37
e first evaluation of f is always at x_1 = a + (1-φ)(b-a) where (a,b) = (lower, upper) and phi = (sqrt(5) - 1)/2 = 0.61803.. is the golden section ratio. Almost always, the second evaluation is at x_2 = a + phi(b-a). Note that a local minimum inside [x_
全部回答
  • 1楼网友:青尢
  • 2021-01-02 05:15
b'=2-6(lna+1)=0 lna= - 2/3
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯