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:

Wolfram Research (1991), MaxSteps, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxSteps.html.

Text

Wolfram Research (1991), MaxSteps, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxSteps.html.

CMS

Wolfram Language. 1991. "MaxSteps." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MaxSteps.html.

APA

Wolfram Language. (1991). MaxSteps. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MaxSteps.html

BibTeX

@misc{reference.wolfram_2024_maxsteps, author="Wolfram Research", title="{MaxSteps}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/MaxSteps.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_maxsteps, organization={Wolfram Research}, title={MaxSteps}, year={1991}, url={https://reference.wolfram.com/language/ref/MaxSteps.html}, note=[Accessed: 21-November-2024 ]}