Group Abstract Group Abstract

Message Boards Message Boards

0
|
9.1K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Problem with Mathematica 9 or the equation is insoluble?

Posted 11 years ago
Attachments:
POSTED BY: Gregory Efimov
3 Replies
Posted 11 years ago

Thank you for your recommendations! Your advices are very helpful

POSTED BY: Gregory Efimov
Posted 11 years ago

Since the error message includes

y^[Prime][Prime])[x]

that ^ makes me believe you are somehow putting your ' and ' into superscript notation and making Mathematica think you are taking y to the '' power.

If you start Mathematica fresh and just literally type only and nothing more than

A = First[ y /. NDSolve[{y''[x] == x Sin[y[x]], y[0] == 1, y[0] == 1}, y, {x, 0, 19}]]; Plot[A[x], {x, 0, 19}]

without any <ctrl><shift><alt> anything to make anything into a superscript and don't use any palettes to try to publish your notation, just type, or maybe even scrape off the screen and paste the text above, then I think the problem will go away

POSTED BY: Bill Simpson

I think you may have had an uncleared variable.

In[1]:= sln = 
 NDSolve[{y''[x] == x*Sin[y[x]], y[0] == 1, y'[0] == 1}, y, {x, 0, 19}]

Out[1]= {{y -> InterpolatingFunction[{{0., 19.}}, <>]}}
POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard