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