Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'DSolve won't evaluate' topicStudent Support Forum > General > "DSolve won't evaluate"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Gandalf Saxe
12/07/12 04:05am

In Response To 'Re: DSolve won't evaluate'
---------
That works, thanks! :)
There was a small parenthesis mistake, here is the cleaned code that works copy-pasted:

eq1 = p1'[t] == p3[t] Sin[t];
eq2 = p2'[t] == -Cos[t] p3[t];
eq3 = p3'[t] == Cos[t] p2[t] - p1[t] Sin[t];
{a, b, c} = {p1[t], p2[t], p3[t]} /.First[NDSolve[{eq1, eq2, eq3, p1[0] == 0, p2[0] == 1,p3[0] == 1}, {p1[t], p2[t], p3[t]}, {t, 0, 1}] ]
Plot[{a, b, c}, {t, 0, 1}]


I must say that a warning message from Mathematica saying that an analytical method isn't possible with the methods available to DSolve would be much more appropriate than simply returning the input command... that is so Maple'ish :/

URL: ,

Subject (listing for 'DSolve won't evaluate')
Author Date Posted
DSolve won't evaluate Gandalf Saxe 12/01/12 01:41am
Re: DSolve won't evaluate Bill Simpson 12/05/12 8:20pm
Re: Re: DSolve won't evaluate Gandalf Saxe 12/07/12 04:05am
< Previous CommentHelp | Reply To Comment | Reply To Topic