Apply Newton–Raphson to f(x) = ln x + x − 2 with the starting value x₀ = 2. Find x1.
Numerical methods worksheet with answers
1.Easy
f(x) = ln x + x − 2f′(x) = 1/x + 1x₀ = 2
x1 =
2.Easy
Use linear interpolation in the table to estimate y at x = 2.6.
x = 2.6
y =
3.Medium
Approximate ∫01.5 1/(1 + x³) dx with the trapezoid rule using n = 5 strips. Give T.
f(x) = 1/(1 + x³)[a, b] = [0, 1.5]n = 5
T =
4.Medium
Approximate ∫01 sin x dx with the trapezoid rule, n = 2, and compare it with the exact value. Find the absolute error |E| = |T − I|.
f(x) = sin x[a, b] = [0, 1]n = 2
|E| =
5.Hard
Use Euler's method with h = 0.2 for y′ = t − y, y(0) = 1 to estimate y4 ≈ y(0.8).
y′ = t − yy(0) = 1h = 0.2
y4 =
6.Hard
Use Euler's method with h = 0.1 for y′ = t + y, y(0) = 3 to estimate y5 ≈ y(0.5).
y′ = t + yy(0) = 3h = 0.1
y5 =
Answer key
- 1. x1 = 1.538
- 2. y = 1.893
- 3. T = 1.007
- 4. |E| = 0.009617
- 5. y4 = 0.6192
- 6. y5 = 4.942
Full step-by-step solutions: practise this topic on examproblems.com.