MathGroup Archive 2007

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

Search the Archive

Manipulate and DSolve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81854] Manipulate and DSolve
  • From: janos <janostothmeister at gmail.com>
  • Date: Fri, 5 Oct 2007 04:46:05 -0400 (EDT)

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