MathGroup Archive 2011

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

Search the Archive

Re: Form of Solutions to DSolve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118321] Re: Form of Solutions to DSolve
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 21 Apr 2011 03:13:12 -0400 (EDT)

Clear[f]

f[x_, a_, c_] =
 y[x] /.
   DSolve[y'[x] + y[x] == a Sin[x], y[x], x][[1]] /.
  C[1] -> c

c/E^x + (1/2)*a*(-Cos[x] + Sin[x])

Manipulate[
 Plot[f[x, a, c], {x, 0, 2 Pi}, PlotRange -> {-4, 5}],
 {{a, 1}, 0, 5, Appearance -> "Labeled"},
 {c, 0, 5, Appearance -> "Labeled"}]


Bob Hanlon

---- Benson <nyuout at optonline.net> wrote: 

=============
I wish to use solutions to simultaneopus linear differential equations
obtained through DSolve in other calculations. Specifically in Plots
of Sums of Piecewise solution functions.  How can I convert the form
solutions to DSolve into the form useable functions?



  • Prev by Date: Re: Function Option Names
  • Next by Date: Re: Venn diagrams?
  • Previous by thread: Form of Solutions to DSolve
  • Next by thread: Variables with underscore or subscript