MaxStepSize

MaxStepSize

is an option to functions like NDSolve that specifies the maximum size of a single step used in generating a result.

Details

Examples

open allclose all

Basic 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):

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

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_maxstepsize, organization={Wolfram Research}, title={MaxStepSize}, year={1996}, url={https://reference.wolfram.com/language/ref/MaxStepSize.html}, note=[Accessed: 22-November-2024 ]}