MathGroup Archive 2008

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

Search the Archive

Re: Problem in Evaluate/Manipulate


Hi,

try

Manipulate[
  Solutions =
   Evaluate[Table[{x[t], y[t]} /. Solution[[1]] /. {a -> aa, b -> bb,
       c -> cc, d -> dd, x0 -> xx0}, {xx0, -10, 10, 10}]], {aa, -1,
   1}, {bb, -1, 1}, {cc, -1, 1}, {dd, -1, 1}]

Regards
   Jens

wiso 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.
> 


  • Prev by Date: Re: Problem in Evaluate/Manipulate
  • Next by Date: Conjugate of Symbolic Expression
  • Previous by thread: Re: Problem in Evaluate/Manipulate
  • Next by thread: Re: Problem in Evaluate/Manipulate