Olympiad · Practice · public practice problem
Systems Engineer division (School Level 4)
Computational Engineering
Euler's method meets a charging capacitor
Difficulty 3 of 512 points in 4 partsSuggested time ~22 min (never timed here)
The problem
A capacitor charges according to dv/dt = (Vs − v) ÷ τ with Vs = 10 V, τ = 2 s and v(0) = 0. A simulation uses Euler's method, v ← v + h × (Vs − v) ÷ τ, to estimate v at t = 2 s.
Part (a) · 3 points
With step h = 0.5 s (4 steps), what is the Euler estimate of v(2 s)?
VTolerance: ±0.2 %Part (b) · 2 points
What is the exact value of v(2 s)?
VTolerance: ±0.2 %Part (c) · 3 points
With step h = 0.25 s (8 steps), what is the Euler estimate?
VTolerance: ±0.2 %Part (d) · 4 points · rubric with 2 criteria
Use your two errors to say what order of accuracy Euler's method shows here, and how small h must be for an error under 0.01 V.
Written parts stay in your browser. Reveal the worked solution to mark yourself against the rubric.
Checked so far: 0 of 8 automatically marked points, plus 4 for written parts you mark yourself against the rubric. Nothing is saved.
Stuck? Hints, then the worked solution
Written with AI assistance. Review status: technically-checked (answers recomputed independently with units verified by automated tests); not yet reviewed by an educator or judge.