Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16535

animation of the PDE

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail
From Любовь Тупикина <lyubov78@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject animation of the PDE
Date Sat, 8 Feb 2014 08:54:07 +0000 (UTC)
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <ld4rbf$75p$1@smc.vnet.net> (permalink)
Lines 22
Organization Time-Warner Telecom
NNTP-Posting-Date 08 Feb 2014 08:59:33 GMT
NNTP-Posting-Host 23f160ed.news.twtelecom.net
X-Trace DXC=[laF:kY1:OCcn?\5K_?h9OC_A=>8kQj6M;[h;PUXBgbDCWN^lO<@<PLEFiONJ7[GoFGZE@^OI5<8F
X-Complaints-To abuse@twtelecom.net
Xref csiph.com comp.soft-sys.math.mathematica:16535

Show key headers only | View raw


Hola!

I was using Mathematica to visualise trajectories of x[p],y[p] depending on p.
Is it possible?

Talking about "it's simple
to animate the parametric plot of them by using ParametricPlot inside
Animate."

But I cannot animate the NDSolve using ParametricPlot.
Can you please tell me why I get errors like "NDSolve::dsvar: 1.0011952113073699` cannot be used as a variable. ":

Animate[
   ParametricPlot[
      {Evaluate[{y[p], x[p]} /. sol =
            NDSolve[...some equation type D[f1[x[p],y[p],p] = -D[x[p], p], 
               f2[x[p],y[p],p] = -D[y[p], p]
                x[1] == -1, y[1] == -1}, {y[p], x[p]}, {p, 1, Tp}]]},                         
                 {p, 1, Tp}], {Tp, 1, 100}]

Thank you!

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar


Thread

animation of the PDE Любовь Тупикина <lyubov78@gmail.com> - 2014-02-08 08:54 +0000

csiph-web