Example 4. Solve
the Lorenz I. V. P.
Use Mathematica's NDSolve
procedure.
Solution 4.
Caution. The syntax must be
followed carefully. The symbol "
is the boolean equal, you can use two ordinary equal signs next to
each other if you prefer
".
Mathematica's numerical D.E. solver. It
is more robust than the Runge-Kutta method, we can solve the D.E.'s
over the larger interval
.
Caution. If you do not
use the option "
"
then Mathematica will give you the error message:
NDSolve::"mxst": "Maximum number of 1000
steps reached at the point t == 11.146875180780313`."
After you solve the problem successfully, you should make copies of
the commands and delete the MaxSteps option so you can see
"numerical analysis in action." (Or the lack of it,
because no one wants to report a bad answer.)
![[Graphics:../Images/LorenzAttractorMod_gr_201.gif]](../Images/LorenzAttractorMod_gr_201.gif)
![[Graphics:../Images/LorenzAttractorMod_gr_211.gif]](../Images/LorenzAttractorMod_gr_211.gif)
![[Graphics:../Images/LorenzAttractorMod_gr_221.gif]](../Images/LorenzAttractorMod_gr_221.gif)
![[Graphics:../Images/LorenzAttractorMod_gr_231.gif]](../Images/LorenzAttractorMod_gr_231.gif)
Return to Numerical Methods - Numerical Analysis
(c) John H. Mathews 2004