Tutorial 1
Tutorial 1
Numerical Analysis
Tutorial1
1. Compute the absolute error and relative error in approximations of x by x for the following numbers
(i) x = , x = 3.1416,
(ii) x = e, x = 2.718,
(iii) x =
2, x = 1.414,
(i)
67
,
2e 5.4
13
14
(ii) 10 + 6e
3
,
62
(iii)
1
17
22
7
3. (a) Use three digit arithmetic with rounding to evaluate the function f (x) = x3 6.1x2 + 3.2x + 1.5 at
x = 4.71.
(b) Use three digit arithmetic with rounding to evaluate the function f (x) at x = 4.71 in nested form
and compare with (a) and its exact value.
4. Evaluate the polynomial f (x) = 1.1071x3 + 0.3129x2 0.0172x + 1.1075 for x = 0.234 in nested form
using 5-digit arithmetic with rounding.
5. Find the third Taylor polynomial P3 (x) for the function f (x) = 1 + x about x0 = 0. Approximate
0.5, 0.75, 1.25 and 1.5 using P3 (x) and find the actual errors. Use 3 digit arithmetic with rounding.
6. (a) Determine the third-degree Taylor polynomial P3 (x) and associated remainder term for the function
f (x) = (x 1) ln x about x0 = 1.
(b)
Use P3 (0.5) to approximate f (0.5). Compute the theoretical error bound associated with this
approximation on [0.5, 1.5]. Compare the theoretical error bound with the actual error.
7. Let f (x) =
x cos x sin x
.
x sin x
9. One of the root of the quadratic equation 0.2x2 47.91x + 6 = 0 is x = 239.4. Use four digit floating
point arithmetic with rounding to find other root.
10. Let x approximate x correct up to n significant digits, if ex is evaluated for x, where 10 x 9, then
what should be the relative error in f (x) evaluation?
11. Use four-digit arithmetic with rounding to find the most accurate approximations to the roots of the
following quadratic equations
(i)
1
1 2 123
x
x + = 0,
3
4
4
12. Suppose f (x) is a dierentiable function such that |f (x)| |f (x). Show that this function evaluation at
each point in (0, 1) is well-conditioned.
Also, please go through the related exercise problems from the text book.
THE END