MaxSteps

MaxSteps
is an option to functions like NDSolve that specifies the maximum number of steps to take in generating a result.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Stop integration after 25 steps:

In[1]:=
Click for copyable input
Out[1]=

Allow integration to go to completion without any restriction on the number of steps:

In[1]:=
Click for copyable input
Out[1]=

Plot the solution in the phase plane:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 1991
(2.0)