0% found this document useful (0 votes)
3 views5 pages

Phase Plane Analysis of Dynamic Systems

This document contains code to model and visualize solutions to a Lotka-Volterra system of differential equations in DEtools. It defines the system, plots trajectories on the phase plane with different initial conditions, and shows the growth of variables x(t) and y(t) over time.

Uploaded by

Hana Seasonll
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views5 pages

Phase Plane Analysis of Dynamic Systems

This document contains code to model and visualize solutions to a Lotka-Volterra system of differential equations in DEtools. It defines the system, plots trajectories on the phase plane with different initial conditions, and shows the growth of variables x(t) and y(t) over time.

Uploaded by

Hana Seasonll
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

O with DEtools : d O LVS := x t =x t dt

3 K 2

1 $y t 2

d y t =y t dt

1 Cx t 2

#sistem d d 3 1 1 LVS := x t =x t K y t , y t = y t K Cx t dt dt 2 2 2 1 O DEplot LVS, x t , y t , t = 0 ..5, x =K ..1, y =K ..5, arrows = small, numpoints = 200, 2 2 color = blue #diagram arah

(1)

3 y 2

K 0.5 K 1

0.5 x

K 2
O DEplot LVS, x t , y t , t = 0 ..5, x =K 1 1 ..1, y =K ..5, 2 2 x 1 = 1, y 1 = 3 , x 1 = 0.2,

y 1 = 3 , x 1 =K y 1 = 3 , color = blue, linecolor = red 0.2, #bidang phase dengan bidang arah

3 y 2

K 0.5

0.5 x
1 1 ..1, y =K ..5, 2 2

O DEplot LVS, x t , y t , t = 0 ..5, x =K

x 1 = 1, y 1 = 3 , x 1 = 0.2,

y 1 = 3 , x 1 =K y 1 = 3 , color = white, linecolor = red 0.2, #bidang phase

3 y 2

K 0.5

0.5 x

1
x 1 = 3, y 1 = 3 , color

O DEplot LVS, x t , y t , t =K ..100, x =K ..10, y =K ..5, 1 0.5 0.5 = white, linecolor = red, scene = t, x t #pertumbuhan x(t) dari waktu ke waktu

10

6 x(t) 4

0 20 40 t
O DEplot LVS, x t , y t , t =K ..100, x =K ..5, y =K ..10, 1 0.5 0.5 = white, linecolor = blue, scene = t, y t #pertumbuhan y t dari waktu ke waktu x 1 = 3, y 1 = 3 , color

60

80

100

10

6 y(t) 4

0 20
O O

40 t

60

80

100

You might also like