Re: NDSolve with Dirichlet boundary condition
- To: mathgroup at smc.vnet.net
- Subject: [mg107312] Re: NDSolve with Dirichlet boundary condition
- From: Julian Aguirre <julian.aguirre at ehu.es>
- Date: Tue, 9 Feb 2010 02:43:19 -0500 (EST)
- References: <hkj8sp$dpg$1@smc.vnet.net>
Hi Frank,
> I was not able to solve the following differential equation with
> Mathematica 7.01.0 using:
>
> NDSolve[{D[x[r]x'[r],r]==0, x[0]==10, x[1]==1}, x, {r,0,1}]
>
> Since my original problem is inhomogeneous and involves interpolating
> functions DSolve is not an option.
>
> Is there a way to solve this problem using Mathematica?
> Any help is highly appreciated.
You should follow the lonk
http://reference.wolfram.com/mathematica/tutorial/NDSolveBVP.html
It turns out that NDSolve has an option ShootingMethod that does what
you want.
Juli=E1n