t=0:1:5产生行向量t,各元素为0、1、2、3、4、5
t=0:1:5产生行向量t,各元素为0、1、2、3、4、5
已知T(1)=9,T(2)=8,T(0)=5,Total=T(1)+T(2)+T(0),则Total=()。 A: 9 B: 22 C: 8 D: 5
已知T(1)=9,T(2)=8,T(0)=5,Total=T(1)+T(2)+T(0),则Total=()。 A: 9 B: 22 C: 8 D: 5
已知T(1)=9,T(2)=8,T(0)=5,Total=T(1)+T(2)+T(0),则Total=()。
已知T(1)=9,T(2)=8,T(0)=5,Total=T(1)+T(2)+T(0),则Total=()。
产生周期为1的三角波信号,正确的代码是 A: t=0:1/1000:5;y=sawtooth(2*pi*t,0.5);号,正确的代码是 B: t=0:1/1000:5;y=sawtooth(2*pi*10*t,0.5);,正确的代码是 C: t=0:1/1000:5;y=square(2*pi*t,0.5);� D: t=0:1/1000:5;y=square(2*pi*10*t,0.5);
产生周期为1的三角波信号,正确的代码是 A: t=0:1/1000:5;y=sawtooth(2*pi*t,0.5);号,正确的代码是 B: t=0:1/1000:5;y=sawtooth(2*pi*10*t,0.5);,正确的代码是 C: t=0:1/1000:5;y=square(2*pi*t,0.5);� D: t=0:1/1000:5;y=square(2*pi*10*t,0.5);
下列Matlab代码,能求解微分方程 y'(t) = 2*t , y(0) = 1的是( ) A: tspan = [0 5];<br> y0 = 0;<br> [t,y] = ode45(@(t,y) 2*t, tspan, y0); B: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*t, tspan, y0); C: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*y, tspan, y0); D: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*t*y, tspan, y0);
下列Matlab代码,能求解微分方程 y'(t) = 2*t , y(0) = 1的是( ) A: tspan = [0 5];<br> y0 = 0;<br> [t,y] = ode45(@(t,y) 2*t, tspan, y0); B: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*t, tspan, y0); C: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*y, tspan, y0); D: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*t*y, tspan, y0);
【单选题】Which of the following matrices does not have the same determinant of matrix B: [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -1, 0, -9,-5] A. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 0; -1, 0, -9, -5] B. [1, 3, 0, 2; -2, -5, 7, 4; 1, 0, 9, 5; -1, 0, -9, -5] C. [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -3, -5, -2, -1] D. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 1; -1, 0, -9, -5]
【单选题】Which of the following matrices does not have the same determinant of matrix B: [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -1, 0, -9,-5] A. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 0; -1, 0, -9, -5] B. [1, 3, 0, 2; -2, -5, 7, 4; 1, 0, 9, 5; -1, 0, -9, -5] C. [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -3, -5, -2, -1] D. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 1; -1, 0, -9, -5]
有以下程序: void swapl(int c[]) int t; t=c[0]; c[0]=c[1]; c[1]=t; void swap2int c0, int c1) int t; t=c0; c0=c1; c1=t; main() int a[2]=3,5, b[2]=3,5; swap1 ( A: ; swap2 (b[0],b[1]); B: printf("%d %d %d %d\n",a[0],a[1],b[0],b[1]); C: 其输出结果是A) 5 3 5 3 D: 5 3 3 5 E: 3 5 3 5 F: 3 5 5 3
有以下程序: void swapl(int c[]) int t; t=c[0]; c[0]=c[1]; c[1]=t; void swap2int c0, int c1) int t; t=c0; c0=c1; c1=t; main() int a[2]=3,5, b[2]=3,5; swap1 ( A: ; swap2 (b[0],b[1]); B: printf("%d %d %d %d\n",a[0],a[1],b[0],b[1]); C: 其输出结果是A) 5 3 5 3 D: 5 3 3 5 E: 3 5 3 5 F: 3 5 5 3
【单选题】如图示代码,下面哪个是正确的输出结果 A. 0 1 2 3 4 5 B. 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 C. 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 D. 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5
【单选题】如图示代码,下面哪个是正确的输出结果 A. 0 1 2 3 4 5 B. 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 C. 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 D. 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5
运行下面的程序后,输出的结果为 Cls Dim t(5,5)as Integer For i=1 To 5:t(i,i)=1:Next For i=1 To 5 For j=1 To 5 Print t(i,j), Next Print Next A. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 B.1 1 1 1 1 C.1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 D.1 1 1 1 1
运行下面的程序后,输出的结果为 Cls Dim t(5,5)as Integer For i=1 To 5:t(i,i)=1:Next For i=1 To 5 For j=1 To 5 Print t(i,j), Next Print Next A. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 B.1 1 1 1 1 C.1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 D.1 1 1 1 1
下列程序段的输出结果是( )#include <;stdio.h>;void main( ){int t=1,i;for(i=5;i>;=0;i--)t*=i;printf("%d\n",t);} A: 5 B: 120 C: 0 D: 1
下列程序段的输出结果是( )#include <;stdio.h>;void main( ){int t=1,i;for(i=5;i>;=0;i--)t*=i;printf("%d\n",t);} A: 5 B: 120 C: 0 D: 1