下列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);
已知描述系统的微分方程和初始状态如下,求0+值y(0+)和y’(0+)[img=500x19]18036720a34d66a.png[/img] A: y(0+)= -5 ,y’(0+)= 29 B: y(0+)= 5 ,y’(0+)= 29 C: y(0+)= -6 ,y’(0+)= 29 D: y(0+)= -5 ,y’(0+)= 28
已知描述系统的微分方程和初始状态如下,求0+值y(0+)和y’(0+)[img=500x19]18036720a34d66a.png[/img] A: y(0+)= -5 ,y’(0+)= 29 B: y(0+)= 5 ,y’(0+)= 29 C: y(0+)= -6 ,y’(0+)= 29 D: y(0+)= -5 ,y’(0+)= 28
在0~4π 区间绘制y=5cos(10t+π/3)关系曲线,下述哪个程序正确? A: t=0:4*pi, y=5cos(10t+pi/3) B: t=0:0.1:4π, y=5*cos(10*t+π/3) C: t=0:4π, y=5*cos(10*t+π/3) D: t=0:0.1:4*pi, y=5*cos(10*t+pi/3)
在0~4π 区间绘制y=5cos(10t+π/3)关系曲线,下述哪个程序正确? A: t=0:4*pi, y=5cos(10t+pi/3) B: t=0:0.1:4π, y=5*cos(10*t+π/3) C: t=0:4π, y=5*cos(10*t+π/3) D: t=0:0.1:4*pi, y=5*cos(10*t+pi/3)
产生周期为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);
以下程序段输出的结果是。 int x=5,y=10,t=0; if(x==y) t=x;x=y;y=t; printf("%d,%d",x,y);
以下程序段输出的结果是。 int x=5,y=10,t=0; if(x==y) t=x;x=y;y=t; printf("%d,%d",x,y);
两个信号波形如图所示。设y(t)=f1(t)*f2(t),则y(5)=() A: 2 B: 4 C: 6 D: 8
两个信号波形如图所示。设y(t)=f1(t)*f2(t),则y(5)=() A: 2 B: 4 C: 6 D: 8
对于下面的程序段,输出的结果是:int x=10,y=5;switch(x){case 12:y=y+5;case 10:y++;case 8: y=y-2;case 6: y=y*2;default: y=0;}System.out.println(y); A: 5 B: 0 C: 6 D: 8
对于下面的程序段,输出的结果是:int x=10,y=5;switch(x){case 12:y=y+5;case 10:y++;case 8: y=y-2;case 6: y=y*2;default: y=0;}System.out.println(y); A: 5 B: 0 C: 6 D: 8
下列程序运行后,看到的图形( ?????)。 ?????t=0:pi/6:2*pi;[x,y,z]=cylinder(t, 6);surf(x,y,z)view(0,90);axis equal
下列程序运行后,看到的图形( ?????)。 ?????t=0:pi/6:2*pi;[x,y,z]=cylinder(t, 6);surf(x,y,z)view(0,90);axis equal
如何用Maltab求解 y'(t) = 2*t , y(0) = 0?
如何用Maltab求解 y'(t) = 2*t , y(0) = 0?
定义int x=5, y=6;执行y=x+y程序后,变量y的值是___. A: 1 B: 11 C: 6 D: 0
定义int x=5, y=6;执行y=x+y程序后,变量y的值是___. A: 1 B: 11 C: 6 D: 0