TianyuCheng

40 Reputation

One Badge

0 years, 285 days

MaplePrimes Activity


These are questions asked by TianyuCheng

with(DEtools); with(plots); with(plots, implicitplot);

LC := [diff(x(t), t) = x(t)*(1-x(t)^2-y(t)^2)+y(t)*((1-x(t))^2+y(t)^2), diff(y(t), t) = y(t)*(1-x(t)^2-y(t)^2)-y(t)*((1-x(t))^2+y(t)^2)]

p1 := DEplot(LC, {x(t), y(t)}, t = 0 .. 100, [x(0) = 1, y(0) = 1])

Error, (in DEtools/DEplot/CheckInitial) too few initial conditions: [x(0) = 1]

Download mm.mwmm.mw

ODE := 2.56*(diff(x(t), t, t))+.32*(diff(x(t), t))+x(t)+0.5e-1*x(t)^3 = 2.5*sin(t)

a1 := 2.56; a2 := .32; a3 := 0.5e-1; B := sin(t)

dfieldplot([diff(x(t), t) = y(t), diff(y(t), t) = (B-a2*y(t)-x(t)-a3*x(t)^3)/a1], [x(t), y(t)], t = -2 .. 2, x = -1 .. 2, y = -1 .. 2, arrows = SLIM, color = black, dirfield = [10, 10])

Error, (in DEtools/dfieldplot) cannot produce plot, non-autonomous DE(s) require initial conditions.
 

1 2 3 Page 3 of 3