Numerical Analysis: Lecture - 1
Numerical Analysis: Lecture - 1
Lecture -1
Muhammad Rafiq
Assistant Professor
University of Central Punjab
Lahore Pakistan
6.238
102
1.714
-14
Significant digits:
Significant digit of a number is any given digit of the number
except possibly for 0s to the left of 1st non zero digit that serves
only to the fix the position of decimal point.
For Example
Each number 1360, 1.360, 0.001360 has 4 significant digits.
Theoretically we can represent any non zero number as
a=
m 10e
; 0.1
m 1 , e
ie.
is called Exponent.
Rounding
3.142
Chopping
3.141
4.323
4.32
4.32
4.335
4.34
4.33
NOTE:
An error introduced by rounding or chopping is always
referred to as round-off error (rounding error) regardless
whether we chopp or round.
EXERCISE
Q1:
Write 23.49, -302.867, 0.000527532, -25700 in a floating
point, form rounded to 4S (4 Significant Digit)
Q2:
Write -89.216618, 500 000, 0.002213675 in floating point,
form rounded to 5S (5 Significant Digit)
Q3:
Compute