若复数z=(x-5)+(y+2)i是实数,则必然有( )
A: x=5
B: x≠5
C: y=-2
D: y≠-2
A: x=5
B: x≠5
C: y=-2
D: y≠-2
举一反三
- 执行以下语句的结果:dict1={"x":1,"y":2,"z":3}dict2={"x":4,"a":5}dict1.update(dict2) A: {"x":1,"y":2,"z":3,"x":4,"a":5} B: {"x":4,"a":5,"x":1,"y":2,"z":3} C: 有重复项,结果有误! D: {"x":4,"y":2,"z":3,"a":5}
- 若:w=5,x=2,y=3,z=4,则条件表达式w <; x ? w : y <; z ? y : z的值为_________。 A: 5 B: 2 C: 3 D: 4
- x=2,y=5,z=3 (x>y)+z*4=?
- 设x=2以及y=3,下面代码的输出结果是。if (x >; 2)if(y >; 2){int z = x + y;System.out.println("z is " + z) ;}else{System.out.println("x is " + x) ;} A: x is 2 B: z is 5 C: x is 5 D: 无输出
- 函数 [img=197x96]1803dbfc46ca27a.png[/img]表示的曲面称为椭圆锥面,绘制这个曲面的程序是: A: s=-5:0.1:5;t=-5:0.1:5;[x, y]=meshgrid(s, t);z=sqrt(x.^2+y.^2);mesh(x,y,z) B: a=3;b=2;s=-5:0.1:5;t=-5:0.1:5;[x, y]=meshgrid(s, t);z=sqrt(x.^2/a/a+y.^2/b/b);mesh(x, y, z) C: a=3;b=2;s=-5:0.1:5;t=-5:0.1:5;[x, y]=meshgrid(s, t);z=sqrt(x.^2/a*a+y.^2/b*b);mesh(x, y, z) D: a=3;b=2;s=-5:0.1:5;t=-5:0.1:5;[x, y]=meshgrid(s, t);z=sqrt(x^2/a/a+y^2/b/b);mesh(x, y, z);