MathGroup Archive 2007

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

Search the Archive

Manipulate and DSolve

Dear Colleagues,

Manipulate[Plot[\[ExponentialE]^(k t), {t, 0, 1}], {k, -1, 1}]

works fine. However, if I solve the corresponding ODE symbolically:

ds = DSolve[{x'[t] == k x[t], x[0] == 1}, x[t], t][[1]]

it does not work:

Manipulate[Plot[Evaluate[x[t] /. ds], {t, 0, 1}], {k, -1, 1}]

Could anyone help me please?

Thank you, Janos

  • Prev by Date: Re: Plot3D with NDSolve
  • Next by Date: How to help Mathematica take an integral
  • Previous by thread: Re: FindRoot and NIntegrate
  • Next by thread: Re: Manipulate and DSolve