Mathematica error when solving a DE -- "exceeded RecursionLimit"

  • Context: Mathematica 
  • Thread starter Thread starter Abhisheko07
  • Start date Start date
  • Tags Tags
    Error Mathematica
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Abhisheko07
Messages
5
Reaction score
0
Homework Statement:: I don't know where the mistake is happening. I need to solve the give differential equation in mathematica and have to plot it but i am facing problem in doing so.
Can anyone help me in this?
Relevant Equations:: I have attached the picture of equation as well as my mathematica code.

IMG-20210607-WA0020.jpeg
20210608_075359.jpg
 
on Phys.org
not sure, maybe try sol=DSolve[eqn,y[x],x], that is put y[x] there instead of just y.
Also try putting the equation explicitly into the DSolve command, for example like
sol=Dsolve[y''[x]==-y[x],y[x],x]