Use the bisection method on f(x) = x³ + 2x − 2 with the starting interval [0, 2]. Find the midpoint c4 of step 4.
Numerical methods worksheet with answers
1.Easy
f(x) = x³ + 2x − 2[a, b] = [0, 2]n = 4
c4 =
2.Easy
Apply Newton–Raphson to f(x) = cos x − x with the starting value x₀ = 1. Find x1.
f(x) = cos x − xf′(x) = −sin x − 1x₀ = 1
x1 =
3.Medium
Approximate ∫02 x³ dx with the trapezoid rule, n = 2, and compare it with the exact value. Find the absolute error |E| = |T − I|.
f(x) = x³[a, b] = [0, 2]n = 2
|E| =
4.Medium
Approximate ∫02 √x·e−x dx with Simpson's rule using n = 2 strips. Give S.
f(x) = √x·e−x[a, b] = [0, 2]n = 2
S =
5.Hard
Solve y′ = −2ty, y(0) = 3 with Euler's method and step h = 0.1 up to t = 0.4. The exact solution is y = y₀e−t². Find the global error |E| = |y(0.4) − y4|.
y′ = −2tyy(0) = 3h = 0.1
|E| =
6.Hard
Use Euler's method with h = 0.5 for y′ = 1 + sin(ty), y(0) = 0 to estimate y4 ≈ y(2).
y′ = 1 + sin(ty)y(0) = 0h = 0.5
y4 =
Answer key
- 1. c4 = 0.875
- 2. x1 = 0.7504
- 3. |E| = 1
- 4. S = 0.5543
- 5. |E| = 0.09662
- 6. y4 = 2.589
Full step-by-step solutions: practise this topic on examproblems.com.