网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
在MATLAB中实现计算如下表达式 1、z = 3+4i; theta = angle(z); a = real(z); b = imag(z); y = conj(z); x = exp(i*pi/6); r = abs(theta); 2、a = -8; r = a^(1/3); 3、s1 = char(100); v1 = abs(s1);
参考答案和解析
exp(2)
更多 “在MATLAB中实现计算如下表达式 1、z = 3+4i; theta = angle(z); a = real(z); b = imag(z); y = conj(z); x = exp(i*pi/6); r = abs(theta); 2、a = -8; r = a^(1/3); 3、s1 = char(100); v1 = abs(s1);” 相关考题
考题
有如下程序,该程序的输出的结果是()intaddc(inta,intb,intc){c=a+b;return(c);}main(){intx=4,y=2,z,r;z=x+y;r=addc(addc(x,y,z),addc(y,z,x),z);printf(“%d\n“,r);}()
A、36B、12C、14D、6
考题
已知x=5,y=2,z=6。表达式x>y And z>x Or xy的值是()。A.FalseB.TrueC.1D.0
已知x=5,y=2,z=6。表达式x>y And z>x Or x<y And Not z>y的值是( )。A.FalseB.TrueC.1D.0
考题
设x=4,y=8,z=7以下表达式的值是xz)Or z
设x=4,y=8,z=7以下表达式的值是 x<y And(Not y>z) Or z<xA.1B.-1C.TrueD.False
考题
数学表达式“In(exy+|arctan(x)|cos3x)”对应的Visual Basic算术表达式是______。A.Ln(E^(xy)+Abs(Tan(z))+cosx^3)B.Log(Exp(xy)+Abs(Tan(z))+cos(x)^3)C.Ln(Exp(x-x-y)+Abs(Atn(z))+cosx^3)D.Log(Exp(x*y)+Abs(Atn(z))+cos)x)^3)
考题
单击一次窗体之后,下列程序代码的执行结果为______。 Private Sub Command1_ Click() Dim x As Integer, y As Integer, z As Integer x = 1: y = 2: z = 3 Call fun1 (x, y, z) Print x; y; z Call fun2(x, y, z) Print x; y; z End Sub Private Sub fun1(x As Integer, y As Integer, z As Integer) x = 10 * z y=z*z+ x z=x+ y+ z End Sub Private Sub fun2 (ByVal x As Integer, ByVal y As Integer, ByVal z As Integer) x=10*z y=z*z+ x z=x+ y +z End SubA.1 2 3 30 39 72B.1 2 3 1 2 3C.30 39 72 1 2 3D.30 39 72 30 39 72
考题
过(1,1,-1),(-2,-2,2),(1,-1,2)三点的平面方程是( )。
A.x+3y-2z-6=0
B.x+3y-2z=0
C.x-3y-2z-6=0
D.x-3y-2z=0
考题
指出下列关系模式是第几范式?并说明理由。 (1)R(X,Y,Z)F={XY→Z} (2)R(x,Y,z)F={Y→z,XZ→Y} (3)R(X,Y,Z)F={Y→Z,Y→X,X→YZ} (4)R(x,Y,z)F={X→Y,X→Z} (5)R(x,Y,Z)F={XY→Z} (6)R(W,X,Y,Z)F={X→Z,WX→Y}
考题
判断下列关系模式可以达到的范式级别: 1)R(X,Y,Z)F={XY→Z} 2)R(X,Y,Z)F={Y→Z,XZ→Y} 3)R(X,Y,Z)F={Y→Z,Y→X,X→YZ} 4)R(X,Y,Z)F={X→Y,X→Z}
考题
x=1,y=1,z=1,执行表达式w=++x||++y++z后,x、y、z的值分别为()。A、x=2,y=1,z=1B、x=2,y=2,z=2C、x=1,y=1,z=1D、x=2,y=2,z=1
考题
单选题过点(-1,2,3)垂直于直线x/4=y/5=z/6且平行于平面7x+8y+9z+10=0的直线是( )。A
(x+1)/1=(y-2)/(-2)=(z-3)/1B
(x+1)/1=(y-2)/2=(z-3)/2C
(x+1)/(-1)=(y-2)/(-2)=(z-3)/1D
(x-1)/1=(y-2)/(-2)=(z-3)/1
考题
单选题Which of the following choices could be equal to set Z ifX = {2, 5, 6, 7, 9} and Y = {2, 5, 7}X ∪ Y ∪ Z = {1, 2, 3, 4, 5, 6, 7, 8, 9}X ∩ Z = {2, 6}Y ∩ Z = {2}A
Z= {1, 4, 8}B
Z= {1, 3, 8}C
Z= {1, 3, 4, 8}D
Z= {1, 2, 3, 4, 6, 8}E
Z= {1, 2, 3, 5, 6, 8}
考题
单选题x=1,y=1,z=1,执行表达式w=++x||++y++z后,x、y、z的值分别为()。A
x=2,y=1,z=1B
x=2,y=2,z=2C
x=1,y=1,z=1D
x=2,y=2,z=1
热门标签
最新试卷