MathGroup Archive 2008

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

Search the Archive

Re: Problem in Evaluate/Manipulate

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