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: [mg88639] Re: Problem in Evaluate/Manipulate
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Sun, 11 May 2008 15:13:00 -0400 (EDT)
  • References: <g03v2l$bno$1@smc.vnet.net>

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