NDSolve problems in Mathematica (differential equations)

Click For Summary
SUMMARY

The discussion centers on issues encountered while using Mathematica's NDSolve function to solve differential equations derived from the Lagrange method. The user reports that despite setting parameters "t" and "MaxSteps" to "Infinity," the computation runs indefinitely without yielding results, particularly when using the "Event" option with RLEy[[1,1]]. The conversation highlights the need for proper parameter configuration in NDSolve to achieve accurate outcomes.

PREREQUISITES
  • Familiarity with Mathematica software
  • Understanding of differential equations and the Lagrange method
  • Knowledge of NDSolve function and its parameters
  • Experience with event handling in numerical computations
NEXT STEPS
  • Research proper parameter settings for NDSolve in Mathematica
  • Explore event handling techniques in Mathematica
  • Learn about optimization strategies for long-running computations in Mathematica
  • Investigate common pitfalls in solving differential equations using Mathematica
USEFUL FOR

Mathematica users, mathematicians, and engineers working with differential equations, particularly those seeking to optimize their use of NDSolve for accurate results.

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
3K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K