Re: Differential eqn. with interpolated coeficients
- To: mathgroup at smc.vnet.net
- Subject: [mg29230] Re: Differential eqn. with interpolated coeficients
- From: Daniel Arteaga <darteaga at ffn.ub.es>
- Date: Wed, 6 Jun 2001 04:24:19 -0400 (EDT)
- References: <9f7j82$grq$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
I have discovered what happens. Mathematica is able to solve the differential equation with interpolated coeffitients only if you specify initial conditions, (y[0]==a,y'[0]==b), but not if more general boundary conditions are specified. However, I have reespecified my problem with initial conditions, so that now everithing works fine. Thank you for your help, Daniel Arteaga Daniel Arteaga wrote: > > I need to solve a ordinary second order differential equation, of the > type y''[x] + P[x] y'[x] + Q[x] == 0, where the coefficients P[x] and > Q[x] are an interpolating function (or a table of numerical data). > > I have tried with NDSolve, but it seems to admit only an interpolating > function for Q[x], but not for P[x]. Does any one know what could I do? > > Regards, > > Daniel Arteaga