Apply Newton–Raphson to f(x) = x³ − x − 3 with the starting value x₀ = 1. Find x2.
Numerical methods worksheet with answers
1.Easy
f(x) = x³ − x − 3f′(x) = 3x² − 1x₀ = 1
x2 =
2.Easy
The bisection method starts on an interval of length 1. Every step halves the interval. How many steps n are needed at least before the interval is shorter than 0.001?
b − a = 1ε = 0.001
n =
3.Medium
Approximate ∫01 sin(x²) dx with the trapezoid rule using n = 6 strips. Give T.
f(x) = sin(x²)[a, b] = [0, 1]n = 6
T =
4.Medium
Approximate ∫02 e−x² dx with the trapezoid rule using n = 3 strips. Give T.
f(x) = e−x²[a, b] = [0, 2]n = 3
T =
5.Hard
Use Heun's method (improved Euler) with h = 0.1 for y′ = cos t − y, y(0) = 1 to estimate y2 ≈ y(0.2).
y′ = cos t − yy(0) = 1h = 0.1
y2 =
6.Hard
Solve y′ = −0.5y, y(0) = 2 with Euler's method and step h = 0.5 up to t = 2.5. The exact solution is y = y₀e−0.5t. Find the global error |E| = |y(2.5) − y5|.
y′ = −0.5yy(0) = 2h = 0.5
|E| =
Answer key
- 1. x2 = 1.93
- 2. n = 10
- 3. T = 0.3128
- 4. T = 0.8796
- 5. y2 = 0.9986
- 6. |E| = 0.0984
Full step-by-step solutions: practise this topic on examproblems.com.