MathGroup Archive 1996

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

Search the Archive

Re: DSolveConstants question

  • To: mathgroup at
  • Subject: [mg3731] Re: DSolveConstants question
  • From: Paul Abbott <paul at>
  • Date: Thu, 11 Apr 1996 02:53:10 -0400
  • Organization: University of Western Australia
  • Sender: owner-wri-mathgroup at

Richard W. Klopp wrote:

> THE BOOK, p. 783, says that I can use the option
> DSolveConstants -> (Module[{C}, C]&)
> to have Mathematica not restart the index, but this does not seem to 
> work.

At least for this part, the following is what you need:

In[1]:= DSolve[y''[x] == 0, y[x], x, DSolveConstants -> Module[{C}, C]]

Out[1]= {{y[x] -> C$2[1] + x C$2[2]}}

In[2]:= DSolve[y''[x] == 0, y[x], x, DSolveConstants -> Module[{C}, C]]

Out[2]= {{y[x] -> C$3[1] + x C$3[2]}}

Paul Abbott
Department of Physics                       Phone: +61-9-380-2734 
The University of Western Australia           Fax: +61-9-380-1014
Nedlands WA  6907                         paul at 


  • Prev by Date: Re: Q about Nonlinear Simul. Eq
  • Next by Date: Re: ReadList Expression and HDF files
  • Previous by thread: DSolveConstants question
  • Next by thread: RE: DSolveConstants question