MaxStepSize
is an option to functions like NDSolve that specifies the maximum size of a single step used in generating a result.
Examples
open allclose allBasic Examples (1)
Keep the largest step taken by NDSolve to be 0.01:
Applications (2)
The default step control may miss a suddenly varying feature:
A smaller MaxStepSize setting ensures that NDSolve catches the feature:
Attempting to compute the number of positive integers less than misses several events:
Setting a small enough MaxStepSize ensures that none of the events are missed:
Properties & Relations (1)
For a length l, MaxStepFraction->f is equivalent to MaxStepSize->(f l):
Text
Wolfram Research (1996), MaxStepSize, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxStepSize.html.
CMS
Wolfram Language. 1996. "MaxStepSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MaxStepSize.html.
APA
Wolfram Language. (1996). MaxStepSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MaxStepSize.html