is an option to functions like NDSolve that specifies the maximum fraction of the total range to cover in a single step.
MaxStepFraction
is an option to functions like NDSolve that specifies the maximum fraction of the total range to cover in a single step.
Examples
open all close allBasic Examples (1)
Make sure that NDSolve uses at least 100 steps over the integration range:
Applications (1)
Features with small relative size in the integration interval can be missed:
Use MaxStepFraction to ensure features are not missed, independent of interval size:
Properties & Relations (1)
For an interval length l, MaxStepFraction->f is equivalent to MaxStepSize->(f l):
See Also
History
Introduced in 1999 (4.0)
Text
Wolfram Research (1999), MaxStepFraction, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxStepFraction.html.
CMS
Wolfram Language. 1999. "MaxStepFraction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MaxStepFraction.html.
APA
Wolfram Language. (1999). MaxStepFraction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MaxStepFraction.html
BibTeX
@misc{reference.wolfram_2025_maxstepfraction, author="Wolfram Research", title="{MaxStepFraction}", year="1999", howpublished="\url{https://reference.wolfram.com/language/ref/MaxStepFraction.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_maxstepfraction, organization={Wolfram Research}, title={MaxStepFraction}, year={1999}, url={https://reference.wolfram.com/language/ref/MaxStepFraction.html}, note=[Accessed: 16-August-2025]}