Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

plot a phase portrait

How can we plot the phase portait? i got a système of two differential equations: du/dt=u(1-u-0.2v) dv/dt=v(1-v-0.5u)

For a vector field: var('u v') plot_vector_field([u(1-u-0.2v),v(1-v-0.5u)],[u,0,2],[v,0,2])

plot a phase portrait

How can we plot the phase portait? i portait?

I got a système system of two differential equations: du/dt=u(1-u-0.2v) dv/dt=v(1-v-0.5u)equations:

$$ du/dt = u(1-u-0.2v) $$

$$ dv/dt = v(1-v-0.5u) $$

For a vector field:

var('u v')
plot_vector_field([u(1-u-0.2v),v(1-v-0.5u)],[u,0,2],[v,0,2])

plot_vector_field([u*(1-u-0.2*v),v*(1-v-0.5*u)],[u,0,2],[v,0,2])