A8 Differential equations · Practice
Problem set 10: numerical solutions and stiffness
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 15 kinds solid
Check
Forward Euler steps from with = 0.1.
(a)
What is after 20 steps?
(b)
What is the error?
Check
A circuit's fastest time constant is 10 µs.
(a)
What is the largest stable forward Euler step?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
Backward Euler steps from 1 with = 0.1.
(a)
What factor does each step multiply by?
(b)
What is after 5 steps?
Check
The trapezoidal rule steps with = 4.
(a)
What factor does each step multiply by?
Check
One RK4 step of size 0.5 on from 1.
(a)
What does it give?
(b)
How far is it from ?
Check
Halving the step divides a method's error at a fixed time by 4.
(a)
What is the method's order?
Check
A circuit has a fast time constant of 1 µs and must be simulated for 1 s.
(a)
At least how many forward Euler steps does that take?
Check
Forward Euler steps the oscillator with = 0.1.
(a)
By what factor does the amplitude grow each step?
(b)
By what factor after 100 steps?
Check
Euler gives 0.36 with step and 0.365 with step for the same quantity.
(a)
What does Richardson extrapolation give?
Check
One forward Euler step of size 0.1 on from 1.
(a)
What is its local error?
Check
To reach error 0.0001 at , Euler's error is about and RK4's about .
(a)
How many Euler steps are needed?
(b)
How many RK4 steps?
Check
RK4 is stable on for up to about 2.785.
(a)
What is the largest stable step?
Check
Backward Euler steps an RC circuit with = 1 ms using = 0.5 ms.
(a)
What time constant does the simulation actually show?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
The trapezoidal rule steps a fast mode with = 20.
(a)
What is the size of its per-step factor?
(b)
How many steps until that mode's ringing falls below 1% of its start?
Check
Heun's method (RK2) steps from 1 with = 0.2.
(a)
What does one step give?
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 A8