• 2022-06-01
    ‎求常微分方程在[1,3]区间内的数值解,正确的命令有( )。‌‎[img=214x135]17de707813b3012.jpg[/img]‌
    A: >;>; f=@(x, y) 2*x/y+2*x;>;>; [x, y]=ode45(@f, [1, 3], 1)
    B: >;>; f=@(x, y) 2*x/y+2*x;>;>; [x, y]=ode45(f, [1, 3], 1)
    C: >;>; [x, y]=ode45(@(x, y) 2*x/y+2*x, [1, 3], 1)
    D: 建立f.m函数文件:function yx=f(x,y)yx=2*x/y+2*x;输入命令:>;>; [x, y]=ode45(@f, [1, 3], 1)
  • 举一反三