Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Solution Curves' topicStudent Support Forum > General > "Solution Curves"

Help | Reply To Topic
Author Comment/Response
Freddy
04/07/03 00:41am

I am trying to plot a typical solution curve for the de: y'=Sin(x +y) I'm not sure what I am doing wrong, but I just cannot get it to graph this. Can someone help me out?

In[5]:=
soln=DSolve[{y'[x]==Sin[x+y[x]],y[0]\[Equal]0}, y, x]

In[6]:=
Plot[Evaluate[y[x]/.soln], {x, -2,2}]

URL: ,
Help | Reply To Topic