Use linear interpolation in the table to estimate y at x = 3.25.
Numerical methods worksheet with answers
1.Easy
x = 3.25
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
The trapezoid rule is used for ∫02 x³ dx. The error is at most (b − a)³·M/(12n²) with M = max|f″| on [0, 2]. Find the smallest number of strips n that guarantees an error below 0.001.
f(x) = x³[a, b] = [0, 2]ε = 0.001
n =
4.Medium
Approximate ∫02 eˣ dx with the trapezoid rule, n = 2, and compare it with the exact value. Find the absolute error |E| = |T − I|.
f(x) = eˣ[a, b] = [0, 2]n = 2
|E| =
5.Hard
Use Euler's method with h = 0.25 for y′ = y − t², y(0) = 1 to estimate y3 ≈ y(0.75).
y′ = y − t²y(0) = 1h = 0.25
y3 =
6.Hard
Take one step of the classical Runge–Kutta method (RK4) with h = 0.1 for y′ = cos t − y, y(0) = 2. Find y₁ ≈ y(0.1).
y′ = cos t − yy(0) = 2h = 0.1
y1 =
Answer key
- 1. y = 1.657
- 2. c4 = 0.6875
- 3. n = 90
- 4. |E| = 0.5238
- 5. y3 = 1.871
- 6. y1 = 1.905
Full step-by-step solutions: practise this topic on examproblems.com.