| Author |
Comment/Response |
yehuda ben-shimol
|
09/25/05 12:01pm
Hi,
DSolve returns its answer as a replacement rule, so you will get expression of the form
{{r[x,t]-> some mathematical expression}}
assume for the moment that what is written there is
{{r[x,t]->Sin[x]Cos[2t]}}
and you assigned it to a variable named sol
(i.e., sol=DSolve[...])
so
Plot[Evaluate[r[x, t] /. sol[[1]] /. t -> Pi/3], {x, 0, 2π}]
will let you see the 2D graph for t=Pi/3
As for your second question it is not clear to me if
1. you mean the point calculated during the solution of the pde?, if this is the case, you are probably using NDSolve rather then DSolve.
or
2. you want to generate a list of data points for a particular set of parameters?
yehuda
URL: , |
|