Practice: Numerical Solution of Differential Equations
Question
Recognition · Error diagnosis
A student applies Euler's method to
Their computation returns
They conclude the step is a little too large and that any smaller step will improve matters. What is the better account?
2 hints available, least help first.
Hint 1: Retrieval cue
Write out the first few computed values by hand. What is each one times the previous?
Hint 2: Concept cue
Euler on
Direct application
Apply Euler's method to
with step size
What is the approximation to
Enter the value. It is checked against the answer and the precision this task asks for.
2 hints available, least help first.
Hint 1: Retrieval cue
Each step is
Hint 2: Concept cue
After the first step,
Prediction
A fourth-order method (RK4) gives an error of
Approximately what error should be expected at step size
2 hints available, least help first.
Hint 1: Retrieval cue
Order
Hint 2: Concept cue
Substitute
Direct application
Apply one step of the improved Euler (Heun) method to
with
What is the resulting approximation to
Enter the value. It is checked against the answer and the precision this task asks for.
3 hints available, least help first.
Hint 1: Retrieval cue
The method needs two slopes, and averages them.
Hint 2: Concept cue
The second slope is evaluated at the point an Euler step predicts, not at the starting value.
Hint 3: Partial setup
Direct application
Euler's method is applied to
Stability requires
Enter the value. It is checked against the answer and the precision this task asks for.
2 hints available, least help first.
Hint 1: Retrieval cue
Substitute
Hint 2: Concept cue
Removing the absolute value gives two inequalities; the binding one is
Classification · Method selection
You must integrate
What determines the step size you may use?
2 hints available, least help first.
Hint 1: Retrieval cue
Write the Euler update for
Hint 2: Concept cue
With
Recognition · Error diagnosis
A learner states: "Euler's method has error proportional to
Which response identifies what the claim overlooks?
2 hints available, least help first.
Hint 1: Retrieval cue
How many steps are taken to reach a fixed endpoint when the step size is
Hint 2: Concept cue
Each step commits a small rounding error. Consider what
Construction · Direct application
(a) For
(b) Take one improved Euler step on the same problem with
Write your answer, then compare it with the worked solution.
3 hints available, least help first.
Hint 1: Retrieval cue
Write down where each slope is evaluated before computing anything.
Hint 2: Concept cue
In (b), the second slope is taken at the endpoint an Euler step predicts, not at the starting value.
Hint 3: Partial setup
In (b),
Compare with the worked solution
Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.
(a) Four Euler steps. With
-
-
-
|---|---|---|---|---|
| 0 |
| 1 |
| 2 |
| 3 |
| 4 |
Predict the far endpoint with an Euler step:
Average:
Comparison at
A complete answer does each of these:
- applies euler step
- applies higher order method
Transfer · Evaluation
A climate model integrates its equations with a fourth-order method. At the current step size the estimated error in a reported quantity is
The team halves the step size. What error should they expect, assuming the step is already small enough for the asymptotic behaviour to hold?
Give your answer in units of
Enter the value. It is checked against the answer and the precision this task asks for.
2 hints available, least help first.
Hint 1: Retrieval cue
Order
Hint 2: Concept cue
Substitute
Construction · Evaluation · Explanation
(a) Euler applied to
(b) Euler is applied to
(c) You must integrate
(d) At a budget of 32 evaluations of
(e) The equation
Write your answer, then compare it with the worked solution.
3 hints available, least help first.
Hint 1: Retrieval cue
In (a), divide one error by the next and compare with
Hint 2: Concept cue
In (b) and (c), write the Euler update for
Hint 3: Strategy cue
In (e), the difference between two runs estimates the error of the coarser one, and three runs agreeing says more than two.
Compare with the worked solution
Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.
(a) Order from the error ratio.
The ratio is near 2, so halving the step roughly halves the error: first order,
The largest usable step is anything strictly below
A complete answer does each of these:
- predicts error scaling
- applies stability limit
- selects method and step
- interprets approximation
Session complete
Every question in this set has been through once. What you can do now depends on how it went — practising again is worth more than moving on if any of it was uncertain.
Practice data
Your practice record is stored in this browser only. Clearing it removes every answer and every scheduled review, and cannot be undone.