早教吧作业答案频道 -->英语-->
请帮我用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优化一个...的网友还看了以下:
初二下学期分式的计算······很急拜托了···(1)x-2分之3,6-3x分之2 通分 (2)( 2020-05-13 …
limx趋于无穷时x(√(x^2+1)-x)原式=limx/[√(x^2+1)+x]=lim1/[ 2020-05-21 …
填空:分式的约分和通分约分:-16b^2y^2/20ay^3=-1-x/x^2+2x+1=a^y- 2020-06-06 …
导数相关的题.1.当K取何值时,分段函数:x不等于0时,f(x)=x的k次方乘以sin(1/x), 2020-06-11 …
已知函数f(x)=x^2*f'(2)+5x,则f'(2)=?f(x)=x^2·f'(2)+5xf' 2020-06-20 …
若分式方程3/x-2=a/x=4/x(x-2)有增根,则增根可能为?我知道答案是3/(x-2)=a 2020-07-30 …
1.x+y+z≠0且x/(y+z)=y/(x+y)=z/x+y,求x/(x+y+z)2.x+y+z= 2020-10-31 …
1、已知x+y+z=0求x(1/y+1/z)+y(1/x+1/z)+z(1/x+1/y)+62、x- 2020-10-31 …
1.过圆x^2+y^2=1外一点A(2,0)做圆的割线,求割线被圆截得的弦的中点的轨迹方程.2.求L 2020-12-05 …
第一题:以x^2+3x+2=0的两根的平方为根的一元二次方程是第二题:(a^2b)^1/2*(ab^ 2020-12-31 …