Hello everyone,(adsbygoogle = window.adsbygoogle || []).push({});

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.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# NDSolve problems in Mathematica (differential equations)

**Physics Forums | Science Articles, Homework Help, Discussion**