早教吧作业答案频道 -->英语-->
请帮我用matlab优化一个方程求d最小值d=x-(x*x-40-6*a*x)^(0.5)a在0.2到0.3之间,x在10到20之间
题目详情
请帮我用matlab优化一个方程
求d最小值
d=x-(x*x-40-6*a*x)^(0.5)
a在0.2 到0.3之间 ,x在10到20之间
求d最小值
d=x-(x*x-40-6*a*x)^(0.5)
a在0.2 到0.3之间 ,x在10到20之间
▼优质解答
答案和解析
X = fmincon(@(x)x(1)-(x(1)*x(1)-40-6*x(2)*x(1))^(0.5),[11;0.25],[],[],[],[],[10 0.2],[20 0.3])
Warning:Trust-region-reflective method does not currently solve this type of problem,
using active-set (line search) instead.
> In fmincon at 439
Local minimum found that satisfies the constraints.
Optimization completed because the objective function is non-decreasing in
feasible directions,to within the default value of the function tolerance,
and constraints were satisfied to within the default value of the constraint tolerance.
Active inequalities (to within options.TolCon = 1e-006):
lower upper ineqlin ineqnonlin
2 1
X =
20.0000
0.2000
Warning:Trust-region-reflective method does not currently solve this type of problem,
using active-set (line search) instead.
> In fmincon at 439
Local minimum found that satisfies the constraints.
Optimization completed because the objective function is non-decreasing in
feasible directions,to within the default value of the function tolerance,
and constraints were satisfied to within the default value of the constraint tolerance.
Active inequalities (to within options.TolCon = 1e-006):
lower upper ineqlin ineqnonlin
2 1
X =
20.0000
0.2000
看了 请帮我用matlab优化一个...的网友还看了以下:
帮下忙,记S=(1×2×3×...×n)+(4K+3),这里n≥3.当K在1到100之间取正整数值 2020-04-07 …
请帮我用matlab优化一个方程求d最小值d=x-(x*x-40-6*a*x)^(0.5)a在0. 2020-06-23 …
括号里应该填几?可以请计算器帮忙。(1)28×()的积在600到1000之间。(2)75×()的积 2020-07-17 …
visualfoxpro程序设计期末考试有很多程序设计题求高人帮忙做下。。万分感激上机考试1、计算 2020-07-23 …
C语言编写函数fun,函数的功能是,求1到100之间的偶数之积大家帮帮忙,拜托了,我没有多少分,实在 2020-11-04 …
请编写程序每隔100输出-400到1100之间的华氏温度到摄氏温度的对照表某人在外国留学,不熟悉当地 2020-11-04 …
请帮忙列举高一第二学期化学方程式第二学期到现在已经快过半了可我觉得在化学上好像没学一样……方程式一个 2020-11-24 …
A,B,C三人参加长跑比赛,当A跑完全程的三分之二时,B已经到了全程的四分之三处,C恰好跑到AB之间 2020-11-28 …
A,B,C三人参加长跑比赛,当A跑完全程的三分之二时,B已经到了全程的四分之三处,C恰好跑到AB之间 2020-11-28 …
爸爸坐飞机出差去杭州,上午10时飞机起飞,飞行的时间是2小时15分钟.到达之后,事情办完了,爸爸立刻 2020-12-05 …