Use linear interpolation in the table to estimate y at x = 2.52.
Numerical methods worksheet with answers
1.Easy
x = 2.52
y =
2.Easy
Use the bisection method on f(x) = cos x − x with the starting interval [0, 1]. Find the midpoint c4 of step 4.
f(x) = cos x − x[a, b] = [0, 1]n = 4
c4 =
3.Medium
Approximate ∫01 1/(1 + x³) dx with Simpson's rule using n = 4 strips. Give S.
f(x) = 1/(1 + x³)[a, b] = [0, 1]n = 4
S =
4.Medium
Approximate ∫02 1/√(1 + x⁴) dx with Simpson's rule using n = 4 strips. Give S.
f(x) = 1/√(1 + x⁴)[a, b] = [0, 2]n = 4
S =
5.Hard
Solve y′ = t − y, y(0) = 0.5 with Euler's method and step h = 0.2 up to t = 0.8. The exact solution is y = t − 1 + (y₀ + 1)e−t. Find the global error |E| = |y(0.8) − y4|.
y′ = t − yy(0) = 0.5h = 0.2
|E| =
6.Hard
Take one step of the classical Runge–Kutta method (RK4) with h = 0.2 for y′ = cos t − y, y(0) = 3. Find y₁ ≈ y(0.2).
y′ = cos t − yy(0) = 3h = 0.2
y1 =
Answer key
- 1. y = 1.508
- 2. c4 = 0.6875
- 3. S = 0.8358
- 4. S = 1.36
- 5. |E| = 0.05959
- 6. y1 = 2.636
Full step-by-step solutions: practise this topic on examproblems.com.