Apply Newton–Raphson to f(x) = cos x − x with the starting value x₀ = 1. Find x2.
Numerical methods worksheet with answers
1.Easy
f(x) = cos x − xf′(x) = −sin x − 1x₀ = 1
x2 =
2.Easy
Apply Newton–Raphson to f(x) = e−x − x with the starting value x₀ = 0. Find x1.
f(x) = e−x − xf′(x) = −e−x − 1x₀ = 0
x1 =
3.Medium
A vehicle's speed is measured every 1 s (table). Estimate the distance s travelled from t = 0 to t = 4 s with the trapezoid rule.
h = 1 sn = 4
s = m
4.Medium
Approximate ∫03 √x·e−x dx with the trapezoid rule using n = 6 strips. Give T.
f(x) = √x·e−x[a, b] = [0, 3]n = 6
T =
5.Hard
Take one step of the classical Runge–Kutta method (RK4) with h = 0.1 for y′ = cos t − y, y(0) = 1. Find y₁ ≈ y(0.1).
y′ = cos t − yy(0) = 1h = 0.1
y1 =
6.Hard
Take one step of the classical Runge–Kutta method (RK4) with h = 0.5 for y′ = e−ty, y(0) = 0. Find y₁ ≈ y(0.5).
y′ = e−tyy(0) = 0h = 0.5
y1 =
Answer key
- 1. x2 = 0.7391
- 2. x1 = 0.5
- 3. s = 56 m
- 4. T = 0.7172
- 5. y1 = 0.9998
- 6. y1 = 0.4629
Full step-by-step solutions: practise this topic on examproblems.com.