Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problem in Evaluate/Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88650] Re: Problem in Evaluate/Manipulate
  • From: wiso <giurrero at gmail.com>
  • Date: Sun, 11 May 2008 15:15:05 -0400 (EDT)
  • References: <g03v2l$bno$1@smc.vnet.net>

On 10 Mag, 12:57, wiso <giurr... at gmail.com> wrote:
> I have a problem with this code:
>
> Solution =DSolve[{x^\[Prime][t]==a x[t]+b y[t],y^\[Prime][t]==c x[t]+d
> y[t],x[0]==x0,y[0]==-10},{x[t],y[t]},t];
>
> Manipulate[
> Solutions = Evaluate [Table[{x[t],y[t]}/.Solution[[1]],
> {x0,-10,10,10}]]
> ,{a,-1,1},{b,-1,1},{c,-1,1},{d,-1,1}]
>
> I want to solve only one time the PDE, then I placed it outside the
> Manipulate. The code doesn't evaluate the solution with the dynamic
> values.

now the problem is to plot with ParametricPlot. Inside the manipulate
I do:

Evaluate[Solutions = [Table[{x[t],y[t]}/.Solution[[1]],
 {x0,-10,10,10}]]];
ParametricPlot[Solutions,{t,0,10}]

but it doesn't work.


  • Prev by Date: Re: Bug in Plot?
  • Next by Date: Re: Problem in Evaluate/Manipulate
  • Previous by thread: Re: Problem in Evaluate/Manipulate
  • Next by thread: Re: Problem in Evaluate/Manipulate