Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'DSOLVE not computing' topicStudent Support Forum > General > "DSOLVE not computing"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
11/20/12 6:26pm

In Response To 'Re: Re: DSOLVE not computing'
---------
Since you didn't provide any initial conditions or or the range of t or hints about how fine grained you want your phase plot to be I will have to guess a bit here.

See if you can understand and adapt this to your needs.

In[1]:= Show[Table[{f,g} = {x[t],y[t]} /. NDSolve[{x'[t]==x[t](2-2x[t]-y[t]), y'[t]==(3-x[t]-3 y[t])y[t], x[0]==i, y[0]==j}, {x,y}, {t,0,10}][[1]];
ParametricPlot[{f,g}, {t,0,10}],
{i,1,2,1/3}, {j,1,2,1/2}]]

Out[1]= <graphic snipped>

What that does is create a Table of solutions and plots, one for each {x[0],y[0]}={i,j}, and then combines all those into a single phase portrait graphic.

Test this carefully, perhaps starting with a much simpler set of equations where you know exactly what the portrait should be, and make certain it is correct before you depend on this.

If this is not what you were looking for and you can provide some more information then perhaps someone can come up with a way to get what you need.

URL: ,

Subject (listing for 'DSOLVE not computing')
Author Date Posted
DSOLVE not computing Alexandre Gi... 11/16/12 1:18pm
Re: DSOLVE not computing Nasser M. Ab... 11/17/12 7:48pm
Re: Re: DSOLVE not computing Alexandre Gi... 11/19/12 5:52pm
Re: Re: Re: DSOLVE not computing Bill Simpson 11/20/12 6:26pm
< Previous CommentHelp | Reply To Comment | Reply To Topic