Spring 2025_MTH603_1_BC240219076
Spring 2025_MTH603_1_BC240219076
To compute the absolute and relative errors, we use the following formulas:
Given:
True value T=3.146T = 3.146
Approximate value A=3.14A = 3.14
1. Absolute Error:
2. Relative Error:
Final Answers:
Absolute Error = 0.006
Relative Error = 0.001908 (or 0.1908%)
Question no 2
Let's perform one iteration of the bisection method to approximate a root of:
f(x)=x3−x−2f(x) = x^3 - x - 2
over the interval [1,2][1, 2].
Since f(1)⋅f(2)=−2⋅4=−8<0f(1) \cdot f(2) = -2 \cdot 4 = -8 < 0, there is a root in the interval [1,2]
[1, 2].
Since f(1)⋅f(2)=−1⋅2=−2<0f(1) \cdot f(2) = -1 \cdot 2 = -2 < 0, a root exists in the interval [1,2]
[1, 2].
f′(2)=2⋅2=4f'(2) = 2 \cdot 2 = 4
x1=2−−14=2+0.25=2.25x_1 = 2 - \frac{-1}{4} = 2 + 0.25 = 2.25