Professional Documents
Culture Documents
Source of Errors
Dr. Mus’ab Abdul Razak
Intro to Numerical Methods
dv cd 2
t g v
dt m
gm gcd
v t tanh t
cd m
Euler’s Method
ti 1 ti h
dv
vi 1 vi h ti , vi
dt
Intro to Numerical Methods
Intro to Numerical Methods
Mathematical Model
Modelling Errors
▪ Blunders
▪ Data Uncertainty
Numerical Errors
▪ Truncation Errors
▪ Roundoff Errors
• Quantization errors
• Numerical manipulations
Accuracy and Precision
Significant Figures
• Number of significant figures indicates precision. Significant digits of a
number are those that can be used with confidence, e.g., the number of
certain digits plus one estimated digit.
53,800 How many significant figures?
5.38 x 104 3
5.380 x 104 4
5.3800 x 104 5
Zeros are sometimes used to locate the decimal point not significant
figures.
0.00001753 4
0.0001753 4
0.001753 4
Definition of Error (Numerical Errors)
n 0 n!
Numerical Errors – Truncation Errors
Numerical Errors – Truncation Errors
Example:
To get the cos(x) for small x:
2 4 6
x x x
cos x 1
2! 4! 6!
If x=0.5
cos(0.5) =1-0.125+0.0026041-0.0000127+ …
=0.877582
From the supporting theory, for this series, the error is
no greater than the first omitted term.
x8
for x 0.5 0.0000001
8!