NDSolve problems in Mathematica (differential equations)

Click For Summary
The discussion revolves around issues faced while using Mathematica's NDSolve to solve differential equations derived from the Lagrange method. The user reports that despite setting "t" and "MaxSteps" to "Infinity," the program runs indefinitely without yielding results, particularly when using the "Event" condition. There is a suggestion that the problem may be more related to Mathematica's settings rather than the mathematical equations themselves. Participants recommend seeking assistance in a specialized forum dedicated to computing and software for better support. Proper parameter settings in NDSolve are crucial for successful computations.
sky8754180
Messages
1
Reaction score
0
Hello everyone,

I am making use of Mathematica to solve differential equations developed by Lagrange method,

I have met some problems in solving the equations,

I cannot obtain the correct result even though I have set "t" and "MaxSteps" both as "Infinity". I have run the program for 7 hours, but it cannot stop calculation under the condition that
"Event"->(RLEy[[1,1]]).

I don't know much about how to set the parameters of NDSolve functions
properly in order to get correct results?

The program I have run is as the attached, I appreciate any help from you.
 

Attachments

Physics news on Phys.org
This sounds like more of a Mathematica problem than one about actual differential equations. There's a special forum for that: Other Sciences-> Computing->Math and Science software, where you're more likely to be able to find someone who can help.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
846
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 19 ·
Replies
19
Views
2K