Phase Portrait

> ode1 := diff( x(t), t ) = 3*x(t) + 2*y(t) :

> ode2 := diff( y(t), t ) = - 2*y(t) :

> MODEL := [ ode1, ode2 ] ;

[Maple Math]

> VAR := { x(t), y(t) } ;

[Maple Math]

>

> DOMAIN := t = 0 .. 5 ;

[Maple Math]

> WINDOW := x = -3 .. 3,

> y = -3 .. 3 ;

[Maple Math]

>

> IC := [ seq( seq( [x(0)=i/5,y(0)= j], i=-10..10 ), j=[-3,3] ) ];

[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]

>

> PHASEplot := DEplot( MODEL, VAR, DOMAIN, WINDOW, IC, arrows = MEDIUM,

> title = `Phase Portrait for #1` ):

> PHASEplot;

[Maple Plot]