Re: ODE problem
- To: mathgroup at smc.vnet.net
- Subject: [mg98598] Re: ODE problem
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 13 Apr 2009 03:37:56 -0400 (EDT)
- References: <grpici$lkh$1@smc.vnet.net>
Hi,
a) x*y'[x])'[x] is nonsense, you mean D[x*y'[x],x]
b) x=0 is a singular point of the ode, you can't start
in a singular point
Regards
Jens
Janpou Nee wrote:
> What went wrong in the foolwoing
> s = NDSolve[{(x*y'[x])'[x] + Sin[y[x]]*y[x] == 0, y[0] == 1,
> y'[0] == 0}, y[x], {x, 0, 30}];
> Plot[Evaluate[{y[x]} /. s], {x, 0, 30}, PlotStyle -> Automatic]
>