MaxSteps

MaxSteps

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

Details

Examples

open allclose all

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]=

Applications  (1)

Properties & Relations  (1)

See Also

StepMonitor  MaxStepSize  MaxStepFraction  NDSolve  MaxIterations

Introduced in 1991
(2.0)