A13 Numerical methods · Practice
Adaptive step-size control
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 9 kinds solid
Check
An order-4 estimate gives err = 2 × 10⁻⁷ on a step of 1 µs, with tolerance 1 × 10⁻⁶. What's the next step size?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
Step doubling with an order-4 method gives 2.718 from one step and 2.717 from two half steps. What's the estimated error of the two-step answer?
Check
A solver has atol = 0.0001 and rtol = 0.001. What's its tolerance where y = 0.5?
Check
An RC with τ = 0.01 ms needs a step of at its edges (RK4, tolerance 1 × 10⁻⁶). How many steps would a fixed step that small take per 1 ms?
Check
For the same circuit, about how many adaptive steps per 1 ms half period, with the step growing as after each edge?
Check
An adaptive solver keeps each step's local error below 1 × 10⁻⁶ for 1000 steps.
(a)
What is the worst case for the accumulated error, if the local errors all add?
(b)
If instead the local errors behave like independent random values, about how big is the total?
Check
Next step from 2 µs, err 1 × 10⁻⁷, tol 1 × 10⁻⁶, order 4?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
Tolerance with atol 1 × 10⁻⁵, rtol 0.0001, y = 0.002?
Check
Error estimate from 0.3679 (one step) and 0.3681 (two halves), order 4?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in A13