Assignment 1
Assignment 1
March 5, 2017
1. What is numerical computing? Describe, with the help of block diagram, the process of numerical com-
puting.
2. State the four characteristics of numerical computing.
3. What is accuracy? How is it affected during the process of numerical computing?
4. What is convergence? How is it important in numerical computing?
5. What do you mean by numerical instability?
6. How many binary digits are there? Which symbols are used for them? What are they usually called?
7. Round-off the following numbers correct to four significant figures.
(a) 68.3643
(b) 878.367
(c) 8.7265
(d) 56.395.
8. Convert the following numbers to their binary and hexadecimal equivalents:
(a) 17538
(b) 3.1548
(c) 71.568
(d) 18210
(e) 2438
(f) 46710
(g) 0.6510
9. Convert the following numbers to their octal equivalents:
(a) 18210
(b) 46710
(c) A47816
(d) 39.B816
(e) A316
(f) 0.6510
10. Write the floating point representation of the numbers given in questions 8 and 9.
11. Why do we need to represent the numbers in exponential form? Explain how a decimal number is
represented inside the computer using the exponential form?
12. Explain the following:
(a) Overflow
1
(b) Underflow
13. Discuss the errors that may occur during the floating point arithmetic operations. Provide suitable
examples.
18. Find the sum of 392, 780.56, 64320, 72300, 23657 assuming that the number 72300 is known to only three
significant figures.
19. Round off the numbers 865250 and 37.46235 to four significant digits and comute the absolute, relative
and percentage error.
20. Find the absolute, relative and percentage error for the following:
1
(a) 0.333 is the approximate value of .
3
(b) 1.414 is the approximate value of 2.
21. Find the sum S = 3 + 5 + 7 to 4 significant digits and find its absolute and relative error.
22. It is required to obtain the roots of X 2 2X + log10 2 to four decimal places. To what accuracy should
log10 2 be given.
Using the Taylor series expansion about x = 0. Use the expansion to approximate f (0.05) and found the
truncation error.
1
24. Find the truncation error in the result of the following functions for x = when we use
5
(a) First three terms.
(b) First four terms.
2
x2 x3 x4 x5 x6
ex = 1 + x + + + + + + ...
2! 3! 4! 5! 6!
25. In a 4ABC, a = 6cm, c = 15cm, B = 90 . Find the possible error in the computed value of A, if the
errors in the measurement of a and c are 1mm and 2mm respectively.
4x2 y 3
26. If u = and x = y = z = 0.001, compute the relative maximum error in u when x = y = z = 1.
z4
27. In a 4ABC, a = 30cm, b = 80cm, B = 90 . Find the maximum error in the computed value of A, if
1 1
possible errors in a and c are % and % respectively.
3 4