下面程序所解的微分方程组,对应的方程和初始条件为: (1)函数M文件 weif.m: function xdot=weif(t, x) xdot=[3*x(1)+x(3);2*x(1)+6;-3*x(2)^2+2*x(3)]; (2)脚本M文件main.m: x0=[1,2,3] ; [t,x]=ode23(‘weif’,[0,1],x0), plot(t, x’), figure(2), plot3(x( :,1),x( :,2),x( :,3))
A. \[ \dot x_1 = 3x_1 + x_3 \]
B. \[ {\dot x_2 = 2x_1 + 6} \]
C. \[ \dot x_3 = - 3x_2^2 + 2x_3 \]
D. \[ x_1 (0) = 1,x_2 (0) = 2,x_3 (0) = 3 \]
E. \[ x_3 (0) = 1,x_2 (0) = 2,x_1 (0) = 3 \]
F. \[ \dot x_2 = 3x_3 + x_1 \]
下列微分方程当x=1.5时y的值为多少? \[ y' = x + y,{\rm{ }}y(1) = 2 \]
A. 3.0051
B. 5.7860
C. 4.0949
D. 8.3255