早教吧作业答案频道 -->英语-->
请帮我用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优化一个...的网友还看了以下:
已知函数f(x){-x^2+2x,x≤0,x+1/x,x>0}若方程|f(x)|-a有两个不等实根 2020-04-27 …
解方程:1、x除三分之二=2.5 2、5x减1.5x乘8=0 3、5x减x=0.36 4、八分之( 2020-05-16 …
导数相关的题.1.当K取何值时,分段函数:x不等于0时,f(x)=x的k次方乘以sin(1/x), 2020-06-11 …
①y=x,x=1,y=0②y=根号x,x=4,y=0绕x轴旋转产生的旋转体的体积;③y=x^2,y 2020-06-25 …
设f(x)=|x(1-x)|,则()A.x=0是f(x)的极值点,但(0,0)不是曲线y=f(x) 2020-06-30 …
求函数的驻点f'x(x,y)=2xy(4-x-y)-x^2y=0.(1)其中f'x(x,y)中左边 2020-07-11 …
已知二次函数F(x)=ax^2+bx,若函数f(x)的最小值为f(-1)=-1,F(x)=f(x) 2020-07-13 …
F(x)=x(e^x-1)-ax^2,若当x≥0时f(x)≥0,求a的取值范围?f(xF(x)=x 2020-07-26 …
一道高中数学函数题设f(x)=x^3+ax^2-a^2x+1,g(x)=aX^2-2x+1,其中实 2020-07-30 …
曲线y=f(x)≥0(x≥0)围成一以[0,x]为底的曲边梯形,其面积与f(x)的4次幂...曲线y 2020-10-30 …