Re: DSolveConstants question
- To: mathgroup at smc.vnet.net
- Subject: [mg3731] Re: DSolveConstants question
- From: Paul Abbott <paul at earwax.pd.uwa.edu.au>
- Date: Thu, 11 Apr 1996 02:53:10 -0400
- Organization: University of Western Australia
- Sender: owner-wri-mathgroup at wolfram.com
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]}} Cheers, Paul _________________________________________________________________ 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 physics.uwa.edu.au AUSTRALIA http://www.pd.uwa.edu.au/Paul _________________________________________________________________ ==== [MESSAGE SEPARATOR] ====