• Support PF! Buy your school textbooks, materials and every day products Here!

ODE plotting in Maple ARG!

  • Thread starter OrigGan
  • Start date
  • #1
2
0
So I was given the following problem to do in maple:

In one ty-graph plot the solutions of y' = cos(pi*ty) for a sequence of 21 equally distributed initial points y(0) between 0 and 4. Hint: You
may use commands such as seq, dsolve, numeric, odeplot and display.

I started off with:
>x:=diff(y(t),t)=cos(pi*t*y(t))
Then, I did:
>dsolve(x,y(t))
This just gives a blank space, which I read means maple cant find an answer.
From reading some examples online and from the hint above I think I may need to include numeric in dsolve but I cant get that to work without an initial condition.

I also know the sequence will obviously be 0..4,0.2 but then I dont understand what it means by the y(0) part.

Any help in putting this plot together is much appreciated
 

Answers and Replies

  • #2
607
0
(1) In Maple write Pi not pi

(2) No solution shown, that means Maple did not find a closed-form solution. Probably there is none.

(2) The hint is in the assignment... "numeric" and "odeplot" ...
 

Related Threads on ODE plotting in Maple ARG!

Replies
3
Views
2K
Replies
0
Views
18K
Replies
6
Views
8K
Replies
5
Views
18K
Replies
14
Views
2K
  • Last Post
Replies
0
Views
1K
  • Last Post
Replies
4
Views
872
Replies
0
Views
2K
  • Last Post
Replies
2
Views
2K
Top