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:

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

Plot the solution in the phase plane:

Applications  (1)

See how method order affects integration interval with a limited number of steps:

Properties & Relations  (1)

MaxSteps is roughly equivalent to an event with a step counter:

The event function is evaluated a few extra times during initialization:

Introduced in 1991
 (2.0)