MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ORDINARY DIFFERENTIAL EQUATION


> I am trayin to plot the directin of vector field of system of ordinary
> differential equation but i could not
> 
> the system is
> x'[t]=(1-x[t]-0.5 y[t])x[t]
> y'[t]=(1-y[t]-0.8 x[t])y[t]
> 

How about 

  <<Graphics`PlotField`

  v[x_,y_]:={(1-x-0.5 y)x, (1-y-0.8 x)y}

  PlotVectorField[v[x,y], {x,0,1}, {y,0,1}, ScaleFactor->.25]	

Of course, you can make the picture a lot prettier using David Park's DrawGraphics
packages; see http://home.earthlink.net/~djmp/   if you want to take this
approach.


-----------------------
Carl T. Bergstrom                
Department of Zoology
University of Washington      
http://octavia.zoology.washington.edu            
-------------------------------------


  • Prev by Date: Re: ORDINARY DIFFERENTIAL EQUATION
  • Next by Date: Re: Solutions that are not solutions
  • Previous by thread: Re: ORDINARY DIFFERENTIAL EQUATION
  • Next by thread: Re: ORDINARY DIFFERENTIAL EQUATION