Mathematica 9 is now available
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: [mg88660] Re: [mg88624] Problem in Evaluate/Manipulate
  • From: "W_Craig Carter" <ccarter at mit.edu>
  • Date: Sun, 11 May 2008 15:17:00 -0400 (EDT)
  • References: <200805101052.GAA11804@smc.vnet.net>

Hello Wiso,
I believe your error is with the first statement, if you leave off the
";" you will see why.

Try this instead:
Solution =
 DSolve[{D[x[t], t] == a x[t] + b y[t], D[y[t], t] == c x[t] + d y[t],
    x[0] == x0, y[0] == -10}, {x[t], y[t]}, t]

On Sat, May 10, 2008 at 6:52 AM, wiso <giurrero 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}]
>


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