Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >
BUILT-IN MATHEMATICA SYMBOL|See Also »

MaxStepSize

MaxStepSize
is an option to functions like NDSolve that specifies the maximum size of a single step used in generating a result.
Keep the largest step taken by NDSolve to be 0.01:
Keep the largest step taken by NDSolve to be 0.01:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[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:
For a length l, MaxStepFraction->f is equivalent to MaxStepSize:
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF