Numerical methods worksheet with answers

Free printable Numerical methods worksheet: 6 problems from easy to exam level, with an answer key. Print it or save it as a PDF.

For teachers: free to print, copy and use in class. Every new worksheet has new values and its own answer key. A link to ExamProblems on your course page is appreciated.

Name: ____________________   Date: ____________

1.Easy
xya = 1b = 3

Use the bisection method on f(x) = x³ − x − 5 with the starting interval [1, 3]. Find the midpoint c3 of step 3.

f(x) = x³ − x − 5[a, b] = [1, 3]n = 3
c3 =
2.Easy

The bisection method starts on an interval of length 4. Every step halves the interval. How many steps n are needed at least before the interval is shorter than 0.005?

b − a = 4ε = 0.005
n =
3.Medium
xy00.51

Approximate ∫01 √(1 + x³) dx with Simpson's rule using n = 2 strips. Give S.

f(x) = √(1 + x³)[a, b] = [0, 1]n = 2
S =
4.Medium
xy00.3750.751.1251.5

Approximate ∫01.5 e−x² dx with Simpson's rule using n = 4 strips. Give S.

f(x) = e−x²[a, b] = [0, 1.5]n = 4
S =
5.Hard
00.511.500.20.40.6ty(0, 0.5)

Solve y′ = −2ty, y(0) = 0.5 with Euler's method and step h = 0.5 up to t = 1.5. The exact solution is y = y₀e−t². Find the global error |E| = |y(1.5) − y3|.

y′ = −2tyy(0) = 0.5h = 0.5
|E| =
6.Hard
00.20.400.20.4ty(0, 0)

Take one step of the classical Runge–Kutta method (RK4) with h = 0.5 for y′ = e−ty, y(0) = 0. Find y₁ ≈ y(0.5).

y′ = e−tyy(0) = 0h = 0.5
y1 =

Answer key

  1. 1. c3 = 1.75
  2. 2. n = 10
  3. 3. S = 1.109
  4. 4. S = 0.8561
  5. 5. |E| = 0.0527
  6. 6. y1 = 0.4629

Full step-by-step solutions: practise this topic on examproblems.com.