INTRODUCTION TO NUMERICAL
ANALYSIS AND ERROR
Understanding Error
Round off error - arise when numbers having limited
significant figures are used to represent exacts number
Truncation error - arise when approximation are used to
represent exact mathematical procedure
Understanding Error
Round-off Error
Round-off errors arise when numbers having limited significant figures are used to
represent exact numbers.
There are two techniques : Chopping-off and Rounding-off (the most common!)
In general engineering applications Rounding technique is always used
Understanding Error
Truncation Error
Truncation errors arise when approximations are used to represent exact numbers.
See the difference !
Understanding Error
Error Analysis
Absolute error =[ Exact - Approximation]
Relative error =[ Exact - Approximation]
[Exact]
In Mechanical engineering, for example
Example 1
a) Express the numerical result in 2 decimal
places (Why 2)
b) What is the relative error of the simulation
result to the experimental result
Cont
Example 2
4 1 4 1
Given that, a) + , b) ×
5 3 5 3
Perform each of the above computation
i) exactly
ii)using three digit chopping off
iii) using three digit rounding off
Cont.
2
a) i)1 ii) 1.13 iii)1.13
15
4
B) i) ii) 0.266 iii) 0.267
15