Apply Newton–Raphson to f(x) = ln x + x − 3 with the starting value x₀ = 2. Find x2.
Numerical methods worksheet with answers
1.Easy
f(x) = ln x + x − 3f′(x) = 1/x + 1x₀ = 2
x2 =
2.Easy
Use the bisection method on f(x) = x³ + 2x − 5 with the starting interval [1, 2]. Find the midpoint c3 of step 3.
f(x) = x³ + 2x − 5[a, b] = [1, 2]n = 3
c3 =
3.Medium
A vehicle's speed is measured every 10 s (table). Estimate the distance s travelled from t = 0 to t = 50 s with the trapezoid rule.
h = 10 sn = 5
s = m
4.Medium
Approximate ∫02 sin x dx with the trapezoid rule, n = 4, and compare it with the exact value. Find the absolute error |E| = |T − I|.
f(x) = sin x[a, b] = [0, 2]n = 4
|E| =
5.Hard
Take one step of the classical Runge–Kutta method (RK4) with h = 0.5 for y′ = t² + y², y(0) = 1. Find y₁ ≈ y(0.5).
y′ = t² + y²y(0) = 1h = 0.5
y1 =
6.Hard
Use Euler's method with h = 0.25 for y′ = cos t − y, y(0) = 3 to estimate y5 ≈ y(1.25).
y′ = cos t − yy(0) = 3h = 0.25
y5 =
Answer key
- 1. x2 = 2.208
- 2. c3 = 1.375
- 3. s = 295 m
- 4. |E| = 0.02963
- 5. y1 = 2.055
- 6. y5 = 1.289
Full step-by-step solutions: practise this topic on examproblems.com.