选出下列模型的相应的Lingo程序[img=185x115]18034d61e6abb56.png[/img]
A: min=5x1+3x2;x1+x2>=300;2x1+x2<=500;
B: min=5x1+3x2;x1+x2>300;2x1+x2<500;
C: min=5x1+3x2;x1+x2>=300;2x1+x2<=500;@gin(x1);
D: min=5x1+3x2;x1+x2>300;2x1+x2<500;@gin(x1)
A: min=5x1+3x2;x1+x2>=300;2x1+x2<=500;
B: min=5x1+3x2;x1+x2>300;2x1+x2<500;
C: min=5x1+3x2;x1+x2>=300;2x1+x2<=500;@gin(x1);
D: min=5x1+3x2;x1+x2>300;2x1+x2<500;@gin(x1)
举一反三
- 青书学堂: 二次型 f( x 1 , x 2 , x 3 )=2 x 1 2 +5 x 2 2 +5 x 3 2 +4 x 1 x 2 −8 x 2 x 3 ,则 f的矩阵为 。
- 积分[img=136x52]1803d6afd4e6f95.png[/img]的计算程序和结果是 A: clearsyms xy=1/x^2/sqrt(x^2-1)int(y,x,-2,-1)3^(1/2)/2 B: clearsyms xint(1/x^2/sqrt(x^2-1),x,-2,-1)3^(1/2)/2 C: clearsyms xint(1/x/sqrt(x^2-1),x,-2,-1)-pi/3 D: clearsyms xint(1/x/sqrt(x^2-1),x,-2,-1)3^(1/2)/2 E: clearsyms xint(1/x^2*sqrt(x^2-1),x,-2,-1)log(3^(1/2) + 2) - 3^(1/2)/2
- 设A={x|-1<x<2},B={x|1<x<3},求A∪B. A: {x|-1<x<2} B: {x|-1<x<1} C: {x|-1<x<3} D: {x|2<x<3}
- 求函数 f(x)=3*x1^2 + 2*x1*x2 + x2^2 − 4*x1 + 5*x2. 时,输入代码 >>fun = @(x)3*x(1)^2 + 2*x(1)*x(2) + x(2)^2 - 4*x(1) + 5*x(2); >>x0 = [1,1]; >>[x,fval] = fminunc(fun,x0); 其中fun的作用是:
- 求函数[img=148x49]17da6537a5eee98.png[/img]的导数; ( ) A: 1/(x^2*(2/x^2 + 1)) B: -1/(x^2*(2/x^2 + 1)) C: (x^2*(2/x^2 + 1)) D: -1/(x^2*(2/x^2 + 1))+2/x^2 + 1