01 Unit1
01 Unit1
1.1 Introduction
Application of computer-oriented numerical methods has become an integral
part of life of all modern engineers and scientists. The wide spread use of
modern high speed electronic digital computers and increasing demand for
numerical solutions to various problems, numerical methods have been
successfully applied to study problems in engineering, computer science,
mathematics and physical sciences such as biophysics, physics,
atmospheric sciences and geosciences. The art and science of preparing
and solving scientific and engineering problems have undergone
considerable changes since mathematical problem is reduced to a form
amenable to machine solution and several million operations are performed
per minute on a high-speed computer.
1 3
numbers like 1, 2, 3, ….., ( = 0.5), (= 1.5), ….. are treated as exact
2 2
x2
3 4 5
ex = 1 + x + + x x x ....... If we use an approximate
2! 3! 4! 5!
. . . . . . . .
x4 x5
ex – S(x) =
4! 5!
The relative error is the absolute error divided by the true value of the
quantity and this is denoted by Er ,
Absolute error Ea
Relative error Er =
True value X
Ep = Ea 100 = Er 100.
X
Let X be a number such that X _ Xa X, then X is an upper limit on
Obs. 1. The relative and percentage errors are independent of the units
used while absolute error is expressed in terms of these units.
2
Example 5: If is approximated by 0.667, find the absolute and relative
3
errors.
Solution:
Absolute error Ea = True value – Approximate value
2 2 2.01 1
= 0.667 103
3 3 3
Absolute error
Relative error Er =
True value
1
( 10 3 )
3 1
= 103
2/3 2
1.7 Summary
We summarize the concept of significant digits and its relation to accuracy.
Various types of errors, viz. inherent errors, round-off errors, truncation
errors, absolute errors, relative errors and percentage errors are also
discussed.
1.8 Exercises
1. Round-off the following numbers to 4 significant digits.
38.46325, 0.700292, 0.0022431, 19.235101, 2.36425.
2. Find the percentage error if 625.483 is approximated to 3 significant
digits.
(Ans. 0.0772)
3. The number 2.45789 is rounded-off to five significant figures. Find the
relative and percentage error.
(Ans. 4.069 10–6, 4.069 10– 4)
4. Find the sum of 0.123 103 and 0.456 102 and write the result in three
significant digits.
(Ans. 0.169 103)