Numerical Analysis: Lecture - 1
Numerical Analysis: Lecture - 1
Lecture -1
Page 1 of 9
INTRODUCTION TO NUMERICAL ANALYSIS
Page 3 of 9
Floating point number system:
In the decimal notation every real number is represented by a
finite or infinite sequence of decimal digits. For machine
computation, the number must be replaced by number of finitely
many digits. Most digital computers have two ways of
representing numbers called fixed point & floating points.
Page 5 of 9
Significant digits:
Significant digit of a number is any given digit of the number
except possibly for 0’s 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∈ 𝑍
On computer ‘m’ is limited to‘t’ digits only and ‘e’ is also
limited 𝑎̅ = ± 𝑚 ̅ × 10𝑒 𝑚 = 0. 𝑑1 . 𝑑2 . . . . . 𝑑𝑛 , 𝑑1 > 0
|𝑒| < 𝑀 ie. [−𝑀 < 𝑒 < 𝑀]
The fractional part is called Mantissa and ‘𝑒’ is called Exponent.
Page 6 of 9
Under Flow and Over Flow:
Page 7 of 9
and computations continue. Over flow causes the computer to
halt. Standard codes are written to avoid over flows.
NOTE:
An error introduced by rounding or chopping is always
referred to as round-off error (rounding error) regardless
whether we chopp or round.
Page 8 of 9
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:
−0.81534
Compute by rounding stepwise to 4S, 3S and
35.724 −35.596
2S whereas ‘stepwise’ means round the rounded numbers, not
the given ones. What conclusion you draw.
Page 9 of 9