下列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);
设x=1, y=2, 下面程序段执行后x,y的取值是( )。t=xx=yy=t A: x=2 y=1 B: x=1 y=2 C: x=1 y=1 D: x=2 y=2
设x=1, y=2, 下面程序段执行后x,y的取值是( )。t=xx=yy=t A: x=2 y=1 B: x=1 y=2 C: x=1 y=1 D: x=2 y=2
一振幅为A、周期为T、波长为λ平面简谐波沿X负向传播,在X=(1/2)λ处,t=T/4时振动相位为π,则此平面简谐波的波动方程为:() A: y=Acos(2πt/T-2πx/λ-1/2π) B: y=Acos(2πt/T+2πx/λ+1/2π) C: y=Acos(2πt/T+2πx/λ-1/2π) D: y=Acos(2πt/T-2πx/λ+1/2π)
一振幅为A、周期为T、波长为λ平面简谐波沿X负向传播,在X=(1/2)λ处,t=T/4时振动相位为π,则此平面简谐波的波动方程为:() A: y=Acos(2πt/T-2πx/λ-1/2π) B: y=Acos(2πt/T+2πx/λ+1/2π) C: y=Acos(2πt/T+2πx/λ-1/2π) D: y=Acos(2πt/T-2πx/λ+1/2π)
已知X=1,Y=2,T=0 经程序段X=T:T=Y:Y=T 赋值后 X,Y 值分别为()
已知X=1,Y=2,T=0 经程序段X=T:T=Y:Y=T 赋值后 X,Y 值分别为()
已知t函数定义如下,下列会输出True的语句是t = lambda x, y, z=0: x + y > z A: print(t(1, 2)) B: print(t(1, 2, 3)) C: print(t(1)) D: print(t(1, 2, 0))
已知t函数定义如下,下列会输出True的语句是t = lambda x, y, z=0: x + y > z A: print(t(1, 2)) B: print(t(1, 2, 3)) C: print(t(1)) D: print(t(1, 2, 0))
下列程序的输出结果是:x = 1 y = 2 def swap(a, b): t = a a = b b = t print a, b swap(x, y) print x, y A: 1 21 2 B: 2 11 2 C: 1 22 1 D: 2 12 1
下列程序的输出结果是:x = 1 y = 2 def swap(a, b): t = a a = b b = t print a, b swap(x, y) print x, y A: 1 21 2 B: 2 11 2 C: 1 22 1 D: 2 12 1
设随机变量 X~t(n)(n>1),Y =X1/2,则( ) A: Y~χ2(b) B: Y~χ2(n-1) C: Y~F(n,1) D: Y~F(1,n)
设随机变量 X~t(n)(n>1),Y =X1/2,则( ) A: Y~χ2(b) B: Y~χ2(n-1) C: Y~F(n,1) D: Y~F(1,n)
设函数$$y=y(x)$$由$$\left\{ \begin{matrix} x=a(t-\sin t), \\ y=a(1-\cos t) \\ \end{matrix} \right.$$确定,则$${y}''(x)=$$(). A: $$-\frac{1}{a(1-\cos t)}$$ B: $$-\frac{1}{a{{(1-\cos t)}^{2}}}$$ C: $$\frac{1}{a(1-\cos t)}$$ D: $$\frac{1}{a{{(1-\cos t)}^{2}}}$$
设函数$$y=y(x)$$由$$\left\{ \begin{matrix} x=a(t-\sin t), \\ y=a(1-\cos t) \\ \end{matrix} \right.$$确定,则$${y}''(x)=$$(). A: $$-\frac{1}{a(1-\cos t)}$$ B: $$-\frac{1}{a{{(1-\cos t)}^{2}}}$$ C: $$\frac{1}{a(1-\cos t)}$$ D: $$\frac{1}{a{{(1-\cos t)}^{2}}}$$
产生周期为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=1,y=2,t=3时,执行以下程序段后x=_____. if(!x-y) t=x;x=y;y=t;
当int x=1,y=2,t=3时,执行以下程序段后x=_____. if(!x-y) t=x;x=y;y=t;