0% found this document useful (0 votes)
77 views2 pages

Second Semester 2019-2020

1. This document contains 14 numerical analysis problems involving approximations, errors, and evaluating functions and polynomials using floating point arithmetic. 2. The problems cover topics like computing absolute and relative error, evaluating functions using Taylor polynomials, finding maximum/minimum values, and solving quadratic equations. 3. Floating point arithmetic with rounding/chopping is used to perform calculations to various levels of precision and accuracy, and relative errors are computed to analyze the accuracy of approximations.

Uploaded by

Abhigyan Shekhar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views2 pages

Second Semester 2019-2020

1. This document contains 14 numerical analysis problems involving approximations, errors, and evaluating functions and polynomials using floating point arithmetic. 2. The problems cover topics like computing absolute and relative error, evaluating functions using Taylor polynomials, finding maximum/minimum values, and solving quadratic equations. 3. Floating point arithmetic with rounding/chopping is used to perform calculations to various levels of precision and accuracy, and relative errors are computed to analyze the accuracy of approximations.

Uploaded by

Abhigyan Shekhar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Birla Institute of Technology and Science, Pilani-K K Birla Goa Campus

Second Semester 2019-2020

Numerical Analysis
(MATH F313)
Tutorial Sheet-1

1. Compute the absolute error and relative error in approximations of x by x∗

(a) x = π, x∗ = 3.1416
(b) x = e, x∗ = 2.718

(c) x = 2, x∗ = 1.414

2. Use four-digit floating point arithmetic with rounding to perform the following calcu-
lations:
13
−6 3
(i) 14 7 , (ii) − 10π + 6e − .
2e − 5.4 62
3. Let
x cos x − sin x
f (x) = .
x − sin x
(a) Use four-digit floating point arithmetic with rounding to evaluate f (0.1).
(b) The actual value is f (0.1) = −1.99899998. Find the relative error for the value
obtained in (a).

4. A student is asked to evaluate the function f (x) at x = 1.31 but by mistake he had
evaluated f (x) at x = 1.13 and got the value 19 with the error of two significant digits.
What is the maximum value of f (x) at x = 1.31.

5. Suppose p∗ approximates p = 150 with relative error at most 10−3 then find the largest
interval in which p∗ must lie.

6. The most accurate value of f (x) = cos2 x − sin2 x at x = 0.78530 is


(A) 0.00019633 (B) 0.99999 (C) 0.00020 (D) none of these.

7. Find the most accurate value of e−x at x = 0.99999 under the freedom that any first
degree Taylor’s polynomial can be used.

8. The relative propagated error in the product 2 × π using 5-digit floating arithmetic
with rounding is nearly equal to
(A) 1.1928 × 10−7 (B) 1.1928 × 10−6 (C) 1.1928 × 10−5
(D) none of these.

9. Evaluate
f (x) = x3 − 6.1x2 + 3.2x + 1.5,
at x = 4.71 using three-digit floating point arithmetic with rounding.

10. Evaluate the polynomial

f (x) = 1.1071x3 + 0.3129x2 − 0.0172x + 1.1075,

at x = 0.1234 in nested form using five-digit floating point arithmetic with chopping.

1
11. Find value of the polynomial at x = 0.125 in nested form

9.26 x3 − 3.48 x2 + 0.436 x − 0.0182,

using four-digit floating point arithmetic with chopping.

12. One 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.

13. Find the roots of the quadratic equation

x2 + 111.11x + 1.2121 = 0,

using five-digit floating point arithmetic with chopping.

14. Suppose f (x) is a differentiable function such that |f 0 (x)| ≤ |f (x)|. Show that this
function evaluation at each point in (0, 1) is well-conditioned.

You might also like