Improved Euler Method (Heun's Method): difficulty 3

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

Consider y′ = t − y, y(0) = 1, whose exact solution is y(t) = t − 1 + 2e−t. Use Heun's method with h = 0.5.

  1. Compute y1 ≈ y(0.5), showing k1, the predictor and k2.
  2. Compute y2 ≈ y(1).
  3. Find the global error |y2 − y(1)| to four decimal places, and compare it with the error of Euler's method using the same two steps.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Improved Euler Method (Heun's Method) Questions: