Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #1820

Re: Form of Solutions to DSolve

From Bob Hanlon <hanlonr@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Form of Solutions to DSolve
Date 2011-04-21 07:13 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iooldt$bs0$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Form of Solutions to DSolve Bob Hanlon <hanlonr@cox.net> - 2011-04-21 07:13 +0000

csiph-web