NASC_Tut1
NASC_Tut1
Tutorial – Week 1
Topic: Error Analysis
(a) x − y = .
(b) If x and y are rounded to five decimal digits x∗ and y ∗ respectively, then
x∗ = , y∗ = , x∗ − y ∗ = .
(c) Relative error = .
(i) X × x
x
(ii)
X
x
(iii)
x
3. For the following numbers x and their corresponding approximations xA , find the
number of significant digits in xA with respect to x:
4. Let xA and yA be the approximations to x and y, respectively, such that the relative
errors Er (x) and Er (y) are very much smaller than 1. Show that:
1
6. Let xT be a real number. Let xA = 1.45 be an approximate value of xT with an
absolute error at most 0.001. The function f (x) = (5x)4 is evaluated at x = xA
instead of x = xT . Estimate the resulting absolute error.
(a) f (x) = x2 ,
(b) f (x) = π x ,
(c) f (x) = bx , b(> 0) ∈ R.