Re: DSolve Not Working
- To: mathgroup at smc.vnet.net
- Subject: [mg44937] Re: DSolve Not Working
- From: "extrabyte" <extrabyte22 at libero.it>
- Date: Wed, 10 Dec 2003 04:01:42 -0500 (EST)
- References: <br4254$j1n$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Will Oram wrote: [snip] > In: DSolve[y''[x]==ay'[x]+y[x],y,x] > DSolve::dvnoarg: The function y appears with no arguments > Out: DSolve[y''[x]==(ay)/x+y[x],y,x] > > Wha? In[1]=sol[a_] :=DSolve[y''[x] == a y'[x] + y[x], y[x], x] In[2]=f[x_, a_] := y[x] /. sol[a][[1]] In[3]=f[x,a] Out[3]=Exp[0.5*(a-Sqrt[4+a^2])x]C[1]+Exp[0.5*(a+Sqrt[4+a^2])x]C[2] regards -- extrabyte http://extrabyte.splinder.it http://www.hardwarenonsolo.3go.it