Week2 - Chapter 1 Part 2 NA
Week2 - Chapter 1 Part 2 NA
- Sources of Errors.
48.9
Prof. Samir Abdelmalek
(NSNN)
NSNN
NSNN 2024 111
Outline
− Definitions
− Sources of Error in Applying NA
− Errors in Implementation of NA
− Loss of Significance
− The number 3.1416, 0.66667 and 4.0687 contain 5 significant digits each.
− The number 0.00023 has only 2 significant digits (2 and 3), since the zeros
serve only to fixe the position of the decimal point.
− less than half a unit in the 𝑛th place, leave the 𝑛th digit unaltered.
− greater than half a unit in the 𝑛th place, increase the 𝑛th digit by unity.
− Exactly half a unit in the 𝑛th place, increase the 𝑛th digit by unity if it is odd;
otherwise, leave it unchanged.
1.6583 to 1.658
30.0567 to 30.06
0.859378 to 0.8594
3.14159 to 3.142
Interpretation
of Solution
Implementation of
Model
𝑬𝒂 = 𝒙 − 𝒙
− The relative (𝑬𝒓 ) and percentage (𝑬𝒑 ) errors are defined as follows :
𝒙−𝒙 𝒙−𝒙
𝑬𝒓 = & 𝑬𝒑 = 𝟏𝟎𝟎𝑬𝒓 = 𝟏𝟎𝟎
𝒙 𝒙
𝑬𝒂 = 𝑥 − 𝑥 = −0.0012645 ⟹ 𝑬𝒂 = 𝟎. 𝟎𝟎𝟏𝟐𝟔𝟒𝟓
𝑥 − 𝑥 0.0012645
𝑬𝒓 = = ⟹ 𝑬𝒓 = 𝟎. 𝟎𝟎𝟎𝟒𝟎𝟐𝟓𝟎𝟐
𝑥 3.1415926
𝑥 − 𝑥
𝑬𝒑 = 100𝐸𝑟 = 100 ⟹ 𝑬𝒑 = 𝟎. 𝟎𝟒𝟎𝟐𝟓𝟎𝟐%
𝑥
1. Modeling Error
2. Error in Original Data
3. Blunder
− Data Entry Mistakes: Errors in inputting data into the model or software.
− Misapplication of Techniques: Incorrect use of modeling techniques or methods due
to misunderstanding or oversight.
− Calculation Errors: Errors made during manual or computational calculations.
𝒅𝒗 ∆𝒗 𝒗 𝒕𝒊+𝟏 − 𝒗 𝒕𝒊
≅ =
𝒅𝒕 ∆𝒕 𝒕𝒊+𝟏 − 𝒕𝒊
derivative Approximated the derivative
of velocity of velocity finite-divided-difference
equation
ℎ 2 ℎ 𝑛
𝑓 𝑥𝑖+1 = 𝑓 𝑥𝑖 + ℎ 𝑓 ′ 𝑥𝑖 + 𝑓 ′′ 𝑥𝑖 + ⋯ + 𝑓 𝑛 𝑥𝑖 + 𝑅𝑛+1 𝑥𝑖+1
2! 𝑛!
where ℎ = 𝑥𝑖+1 − 𝑥𝑖
ℎ𝑛+1
𝑅𝑛+1 𝑥𝑖+1 = 𝑓 (𝑛+1) 𝜉 , 𝑥𝑖 < 𝜉 < 𝑥𝑖+1
𝑛+1 !
● 𝑅𝑛+1 is the remainder term.
− And, therefore,
− And, therefore,
1
𝑓 1 = −10 + 5 + −6 + 𝑂(ℎ3 ) ≈ −8
2
− And, therefore,
′
ℎ2 ′′ ℎ3 ′′′
𝑓 1 = 𝑓 0 + ℎ 𝑓 𝑥0 + 𝑓 𝑥0 + 𝑓 𝑥0 ≈ −7
2! 3!
𝒇 𝒙 −𝒇 𝒙 𝒙𝒇′ (𝒙)
≈ 𝒇′ (𝒙) ⟹ 𝑪𝑵 =
𝒙−
𝒙 𝒇(𝒙)