WOLFRAM

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)Summary of the most common use cases

Stop integration after 25 steps:

Out[1]=1

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

Out[1]=1

Plot the solution in the phase plane:

Out[2]=2

Applications  (1)Sample problems that can be solved with this function

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

Properties & Relations  (1)Properties of the function, and connections to other functions

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

Out[1]=1

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

Out[2]=2
Wolfram Research (1991), MaxSteps, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxSteps.html.
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.

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.

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

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

BibTeX

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

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

BibLaTeX

@online{reference.wolfram_2025_maxsteps, organization={Wolfram Research}, title={MaxSteps}, year={1991}, url={https://reference.wolfram.com/language/ref/MaxSteps.html}, note=[Accessed: 28-May-2025 ]}

@online{reference.wolfram_2025_maxsteps, organization={Wolfram Research}, title={MaxSteps}, year={1991}, url={https://reference.wolfram.com/language/ref/MaxSteps.html}, note=[Accessed: 28-May-2025 ]}