Problem Set 5 Tut 6
Problem Set 5 Tut 6
1. Find an interval in which the function f (x) = x3 − x2 − 1 has only one real root.
2. Performance five iterations of the bisection method to obtain the smallest positive root of the equation f (x) = 0 where f (x):
(a) f (x) = x3 − 5x + 1,x ∈ (0, 1),
(b) f (x) = cos(x) − xex ,x ∈ (0, 1) ,
(c) f (x) = e2x − 7x, x ∈ (0, 1).
3. Verify that the function f (x) = x2 sin(x) + 2x − 3 has exactly one root in (0, 2). Find this root by using the bisection method
with an error of no more than 10−5 (error tolerance).
4. Consider the function
22 2 116 8
f (x) = x4 − 5x3 +x − + .
3 27 9
(a) Check that f (x) has a root α1 between 0 and 1 and another root α2 between 1 and 4.
(b) Compute both roots using the bisection method.
5. Consider the function
f (x) = (x − 2)2 − ln(x)
on the interval [1, 2].
(a) Prove that there is exactly one root of this equation in this interval.
(b) Use the bisection method to approximate a root to 5 digits accuracy.
(c) How many iterates of the Bisection method are needed to find an approximation to the root of f (x) = 0 in the interval
to within an accuracy of 10−4 ?
6. Performance four iterations of the Regula-Falsi method to obtain the root of the equation f (x) = 0 where f (x):
(a) f (x) = x3 − 5x + 1, x ∈ (0, 1),
(b) f (x) = x3 − x2 − 1, x ∈ [1, 2],
(c) f (x) = cos(x) − xex ,x ∈ (0, 1),
(d) f (x) = e2x − 7x, x ∈ (0, 1).
7. Given the equation f (x) = 0, obtain an iterative method (Regula-Falsi) using the rational approximation
x − a0
f (x) =
b0 + b1 x
where the coefficients a0 , b0 and b1 are determined by evaluating f (x) at xk , xk−1 and xk−2 . Carry out two iterations using
this method for the equation 2x3 − 3x2 + 2x − 3 = 0 with x0 = 0 , x1 = 1, and x2 = 2.
8. Given the equation f (x) = x3 − 4x2 + 2x − 8 = 0 with accuracy 10−4 by using the Regula -Falsi method with x0 = 0 and
x1 = 1.