能正确表示代数式的C语言表达式是( )
A.3*xn/(2*x-1)
B.3*x**n/(2*x-1)
C.3*pow(x,n)*(1/(2*x-1))
D.3*pow(n,x)/(2*x-1)
第1题:
第2题:
求f(x)=x sin(2x-1)在0附近的最小值,相应的命令是()。
A.[x,fval] = fminbnd(@(x) x*sin(2*x-1),0,0.5)
B.[x,fval] = fminsearch(@(x) x*sin(2*x-1),0)
C.[x,fval] = fminsearch(@(x) x*sin(2*x-1),0.5)
D.[x,fval] = fminunc(@(x) x*sin(2*x-1),0)
第3题:
设随机变量X~N(1,4),则以下结果正确的是
A.D(X)=4E(X)
B.P(X>-1)=Φ(1)
C.0.5(X-1)~N(0,1)
D.0.25(X-1)~N(0,1)
E.2(X-1)~N(0,8)
F.P(X<2)= Φ(1)
G.D(X+1)=E(X+1)
H.P(X<4)= Φ(1)
第4题:
2、求f(x)=x sin(2x-1)在0附近的最小值,相应的命令是()。
A.[x,fval] = fminbnd(@(x) x*sin(2*x-1),0,0.5)
B.[x,fval] = fminsearch(@(x) x*sin(2*x-1),0)
C.[x,fval] = fminsearch(@(x) x*sin(2*x-1),0.5)
D.[x,fval] = fminunc(@(x) x*sin(2*x-1),0)
第5题:
求f(x)=x sin(2x-1)在0附近的最小值,相应的命令是()。
A.[x,fval]=fminbnd(@(x) x*sin(2*x-1),0,0.5)
B.[x,fval]=fminbnd(@(x) x*sin(2*x-1),0)
C.[x,fval]=fminsearch(@(x) x*sin(2*x-1),[0,0.5])
D.[x,fval]=fminunc(@(x) x*sin(2*x-1),[0,0.5])