Mathematica Problem in NDSolve in mathematica

  • Thread starter Thread starter yashar
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
The discussion revolves around troubleshooting an error encountered while solving a large system of coupled differential equations using Mathematica's NDSolve function. The error message indicates a potential issue with variable names, specifically suggesting a mix-up between "ro24" and "rod24." The responder highlights the importance of developing skills to identify and resolve such issues independently, emphasizing that understanding the underlying reasons for errors can enhance problem-solving abilities in Mathematica. A link to a Stack Overflow resource is provided as a method for listing user-defined variables and functions in a notebook, which can aid in debugging similar problems in the future. The conversation underscores the value of self-sufficiency in addressing Mathematica-related challenges.
yashar
Messages
31
Reaction score
0
i want to solve a large system of coupled differential equations but i get this error

NDSolve::nlnum:

i attach the notebook in zip format.

what is the problem?

thanks
 

Attachments

Physics news on Phys.org
Search your notebook for
ro24 and ro44
and see if you really meant
rod24 and rod44

Just a guess
 
thanks
that was amazing!
how you guess that?
 
Actually I did not just guess that. If I had guessed that it would have been amazing. Now you have to think about how I was able to find those two in the 400+ equations that you have there. And how you might more likely avoid problems similar to this in the future.
 
Last edited:
i can not understand how did you do that.
please tell me how?
 
http://stackoverflow.com/questions/...iables-functions-in-a-notebook-in-mathematica

is one method to do this particular task.

Developing the ability to find explanations for puzzling Mathematica behavior is extremely important for every Mathematica user. I really suggest that you try to figure out how you could have found this yourself. Then see if you can generalize that method to help you be able to find the answer to the next question you find.
 

Similar threads

Replies
1
Views
2K
Replies
0
Views
549
Replies
1
Views
3K
Replies
4
Views
3K
Back
Top