| Author |
Comment/Response |
Bill Simpson
|
06/20/12 11:16am
With a brand new fresh squeaky clean notebook opened and without having touched a key I scrape your code from you post here, paste it into the notebook, tap <shift><enter> and get
In[1]:= s=NDSolve[{y''[x]+Sin[y[x]] y[x]==0, y[0]==1, y'[0]==0},y,{x,0,30}]
Out[1]= {{y->InterpolatingFunction[{{0.,30.}},<>]}}
So I am guessing, and there is no way to prove it, that you may have previously assigned some value to y'[0] and that value was not 0.
Try to reproduce exactly the steps I did and see if you get your previous result or mine.
URL: , |
|