Sunteți pe pagina 1din 1

Indian Institute of Technology(BHU), Varanasi

Department of Mathematical Sciences


Numerical Techniques(MA-201)
Tutorial-1

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

2. Use three-digit rounding arithmetic to perform the following calculations.

13
14− 67 3
(i) , (ii) − 10π + 6e −
2e − 5.4 62
3. Use three digit arithmetic with rounding to evaluate the function f (x) = x3 −6.1x2 +3.2x+1.5 at x = 4.71.

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. Obtain a second-degree polynomial approximation to f (x) = 1 + x, x ∈ [0, 0.1] using the Taylor series
expansion about x = 0. Use the expansion to approximate f (0.05) and bound the truncation error (use
2 digit arithmetic with rounding).

6. (a) Determine the third-degree Taylor polynomial and associated remainder term for the function f (x) =
ln(1 − x). Use x0 = 0.
(b) Using the result of the part (a), approximate ln(0.25) and compute the theoretical error bound
associated with this approximation. Compare the theoretical error bound with the actual error.
x cos x − sin x
7. Let f (x) =
x − sin x
(i) Use four-digit arithmetic with rounding to evaluate f (0.1).
(ii) The actual value of the function f at x = 0.1 is −1.99899998. Find the relative error for the value
obtained in (i)

8. Find the roots of the quadratic equation x2 + 111.11x + 1.2121 = 0. Use 5 digit arithmetic with chopping.

9. Let x∗ approximate x correct upto n significant digits, if ex is evaluated for x, where −10 ≤ x ≤ 9, then
what should be the relative error in f (x) evaluation?

10. Use four-digit arithmetic with rounding to the most accurate approximations to the roots of the following
quadratic equations

1 2 123 1
(i) x − x + = 0, (ii) 1.0002x2 − 11.01x + 0.01265 = 0.
3 4 4
∗ ∗ ∗ ∗ ∗∗ THE END∗ ∗ ∗ ∗ ∗∗

S-ar putea să vă placă și