SlideShare a Scribd company logo
Topic: Approximation and Error
Name: Ayan Das
Dept: CSE Sem: 6th
Year: 3rd
Subject: Numerical Methods Subject Code: OEC-IT601A
Roll No: 25300121057 Reg No: 212530100120005
Supreme Knowledge Foundation Group
Of Institutions
• Numerical methods yield approximate results, results that
are close to the exact analytical solution.
– Only rarely given data are exact, since they originate
from measurements. Therefore there is probably error in
the input information.
– Algorithm itself usually introduces errors as well, e.g.,
unavoidable round-offs, etc …
– The output information will then contain error from both of these
sources.
Significant Figure
Accuracy and Precision
Error
Taylor Series
Types of Approximation and Error
S i g n i f i c a n t F i g u r e
Significant figures of a number are those that can be used with confidence.
 Rules for identifying sig. figures:
• All non-zero digits are considered significant. For example, 91 has two significant digits (9
and 1), while 123.45 has five significant digits (1, 2, 3, 4 and 5).
• Zeros appearing anywhere between two non-zero digits are significant. Example:
101.12 has five significant digits.
• Leading zeros are not significant. For example, 0.00052 has two significant digits
• Trailing zeros are generally considered as significant. For example, 12.2300 has six
significant digits.
Example
Number Number of Significant
digits/figures
45 Two
0.046 Two
7.4220 Five
5002 Four
3800 Two
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
Example
Error Definition
Truncation errors
Numerical errors arise from the use of approximations
Errors
Result when
approximations are used to
represent exact
mathematical procedure.
Result when numbers
having limited significant
figures are used to
represent exact numbers.
Round-off errors
Round-off Errors
 Numbers such as p, e, or cannot be expressed by a fixed number
of significant figures.
 Computers use a base-2 representation, they cannot precisely
represent certain exact base-10 numbers.
 Fractional quantities are typically represented in computer using
“floating point” form, e.g.,
Example:
  = 3.14159265358 to be stored carrying 7 significant digits.
  = 3.141592 chopping
  = 3.141593 rounding
Truncation Errors
Truncation errors are those that result using approximation
in place of an exact mathematical procedure.
dv

v

Vti1Vti 
dt t ti1ti
____________
 True error (Et)
True error (Et) or Exact value of error
= true value – approximated value
 True percent relative error ( )
t
true value
True value

true value  approximated value
100 (%)
t
True percent relative error   
Trueerror
100 (%)
True Error
Approximate Error
• The true error is known only when we deal with functions that can be solved
analytically.
• In many applications, a prior true value is rarely available.
• For this situation, an alternative is to calculate an approximation of the error using
the best available estimate of the true value as:
  Approximate percent relative error 
Approximate error
100 (%)
Thank You

More Related Content

Similar to Numerical Methods.pptx

Error Analysis.pptx
Error Analysis.pptxError Analysis.pptx
Error Analysis.pptx
AmitJangra63
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
rubenarismendi
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
rubenarismendi
 
Outlier managment
Outlier managmentOutlier managment
Outlier managment
Siddhartha Harit
 
Chapter 1 Errors and Approximations.ppt
Chapter 1 Errors  and Approximations.pptChapter 1 Errors  and Approximations.ppt
Chapter 1 Errors and Approximations.ppt
Eyob Adugnaw
 
Riya Bepari_34700122020_Numerical Methods.pptx
Riya Bepari_34700122020_Numerical Methods.pptxRiya Bepari_34700122020_Numerical Methods.pptx
Riya Bepari_34700122020_Numerical Methods.pptx
RIYABEPARI
 
Neumerical Methods.pptx
Neumerical Methods.pptxNeumerical Methods.pptx
Neumerical Methods.pptx
PayelDalal
 
Error in chemical analysis
Error in chemical analysisError in chemical analysis
Error in chemical analysis
Suresh Selvaraj
 
Accuracy, Precision Measurement
Accuracy, Precision Measurement Accuracy, Precision Measurement
Accuracy, Precision Measurement
Pulchowk Campus
 
Chapter1ccccccccccccxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.pdf
Chapter1ccccccccccccxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.pdfChapter1ccccccccccccxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.pdf
Chapter1ccccccccccccxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.pdf
halilyldrm13
 
Intro to data science
Intro to data scienceIntro to data science
Intro to data science
ANURAG SINGH
 
Introduction To Data Science Using R
Introduction To Data Science Using RIntroduction To Data Science Using R
Introduction To Data Science Using R
ANURAG SINGH
 
lecture01.ppt
lecture01.pptlecture01.ppt
lecture01.ppt
wafahop
 
Introduction Combined Number And Dp
Introduction Combined Number And DpIntroduction Combined Number And Dp
Introduction Combined Number And Dp
Awais Khan
 
1701173877972_Lecture # 2.pptx
1701173877972_Lecture # 2.pptx1701173877972_Lecture # 2.pptx
1701173877972_Lecture # 2.pptx
ontrendsamir
 
Lecture 1 Descriptives.pptx
Lecture 1 Descriptives.pptxLecture 1 Descriptives.pptx
Lecture 1 Descriptives.pptx
ABCraftsman
 
NUMERICAL APPROXIMATION
NUMERICAL APPROXIMATIONNUMERICAL APPROXIMATION
NUMERICAL APPROXIMATION
cyndy
 
ML-ChapterFour-ModelEvaluation.pptx
ML-ChapterFour-ModelEvaluation.pptxML-ChapterFour-ModelEvaluation.pptx
ML-ChapterFour-ModelEvaluation.pptx
belay41
 
Exploratory Data Analysis - Satyajit.pdf
Exploratory Data Analysis - Satyajit.pdfExploratory Data Analysis - Satyajit.pdf
Exploratory Data Analysis - Satyajit.pdf
AmmarAhmedSiddiqui2
 
R for statistics 2
R for statistics 2R for statistics 2
R for statistics 2
Ashwini Mathur
 

Similar to Numerical Methods.pptx (20)

Error Analysis.pptx
Error Analysis.pptxError Analysis.pptx
Error Analysis.pptx
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
Outlier managment
Outlier managmentOutlier managment
Outlier managment
 
Chapter 1 Errors and Approximations.ppt
Chapter 1 Errors  and Approximations.pptChapter 1 Errors  and Approximations.ppt
Chapter 1 Errors and Approximations.ppt
 
Riya Bepari_34700122020_Numerical Methods.pptx
Riya Bepari_34700122020_Numerical Methods.pptxRiya Bepari_34700122020_Numerical Methods.pptx
Riya Bepari_34700122020_Numerical Methods.pptx
 
Neumerical Methods.pptx
Neumerical Methods.pptxNeumerical Methods.pptx
Neumerical Methods.pptx
 
Error in chemical analysis
Error in chemical analysisError in chemical analysis
Error in chemical analysis
 
Accuracy, Precision Measurement
Accuracy, Precision Measurement Accuracy, Precision Measurement
Accuracy, Precision Measurement
 
Chapter1ccccccccccccxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.pdf
Chapter1ccccccccccccxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.pdfChapter1ccccccccccccxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.pdf
Chapter1ccccccccccccxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.pdf
 
Intro to data science
Intro to data scienceIntro to data science
Intro to data science
 
Introduction To Data Science Using R
Introduction To Data Science Using RIntroduction To Data Science Using R
Introduction To Data Science Using R
 
lecture01.ppt
lecture01.pptlecture01.ppt
lecture01.ppt
 
Introduction Combined Number And Dp
Introduction Combined Number And DpIntroduction Combined Number And Dp
Introduction Combined Number And Dp
 
1701173877972_Lecture # 2.pptx
1701173877972_Lecture # 2.pptx1701173877972_Lecture # 2.pptx
1701173877972_Lecture # 2.pptx
 
Lecture 1 Descriptives.pptx
Lecture 1 Descriptives.pptxLecture 1 Descriptives.pptx
Lecture 1 Descriptives.pptx
 
NUMERICAL APPROXIMATION
NUMERICAL APPROXIMATIONNUMERICAL APPROXIMATION
NUMERICAL APPROXIMATION
 
ML-ChapterFour-ModelEvaluation.pptx
ML-ChapterFour-ModelEvaluation.pptxML-ChapterFour-ModelEvaluation.pptx
ML-ChapterFour-ModelEvaluation.pptx
 
Exploratory Data Analysis - Satyajit.pdf
Exploratory Data Analysis - Satyajit.pdfExploratory Data Analysis - Satyajit.pdf
Exploratory Data Analysis - Satyajit.pdf
 
R for statistics 2
R for statistics 2R for statistics 2
R for statistics 2
 

More from Ayan974999

States of a Process in Operating Systems
States of a Process in Operating SystemsStates of a Process in Operating Systems
States of a Process in Operating Systems
Ayan974999
 
Firewalls and proxies are both use for security
Firewalls and proxies are both use for securityFirewalls and proxies are both use for security
Firewalls and proxies are both use for security
Ayan974999
 
The International Space Station (ISS) is the largest space station to have ev...
The International Space Station (ISS) is the largest space station to have ev...The International Space Station (ISS) is the largest space station to have ev...
The International Space Station (ISS) is the largest space station to have ev...
Ayan974999
 
Name.pptx
Name.pptxName.pptx
Name.pptx
Ayan974999
 
AYAN DAS_57_SOFT COMPUTING.pptx
AYAN DAS_57_SOFT COMPUTING.pptxAYAN DAS_57_SOFT COMPUTING.pptx
AYAN DAS_57_SOFT COMPUTING.pptx
Ayan974999
 
software engineering.pptx
software engineering.pptxsoftware engineering.pptx
software engineering.pptx
Ayan974999
 
Computer Network.pptx
Computer Network.pptxComputer Network.pptx
Computer Network.pptx
Ayan974999
 
Gantt Chart.pptx
Gantt Chart.pptxGantt Chart.pptx
Gantt Chart.pptx
Ayan974999
 
Ayan Das_25300121057.pptx
Ayan Das_25300121057.pptxAyan Das_25300121057.pptx
Ayan Das_25300121057.pptx
Ayan974999
 
Ayan Das_25300121057.pptx
Ayan Das_25300121057.pptxAyan Das_25300121057.pptx
Ayan Das_25300121057.pptx
Ayan974999
 
Ayan Das_25300121057.pptx
Ayan Das_25300121057.pptxAyan Das_25300121057.pptx
Ayan Das_25300121057.pptx
Ayan974999
 

More from Ayan974999 (11)

States of a Process in Operating Systems
States of a Process in Operating SystemsStates of a Process in Operating Systems
States of a Process in Operating Systems
 
Firewalls and proxies are both use for security
Firewalls and proxies are both use for securityFirewalls and proxies are both use for security
Firewalls and proxies are both use for security
 
The International Space Station (ISS) is the largest space station to have ev...
The International Space Station (ISS) is the largest space station to have ev...The International Space Station (ISS) is the largest space station to have ev...
The International Space Station (ISS) is the largest space station to have ev...
 
Name.pptx
Name.pptxName.pptx
Name.pptx
 
AYAN DAS_57_SOFT COMPUTING.pptx
AYAN DAS_57_SOFT COMPUTING.pptxAYAN DAS_57_SOFT COMPUTING.pptx
AYAN DAS_57_SOFT COMPUTING.pptx
 
software engineering.pptx
software engineering.pptxsoftware engineering.pptx
software engineering.pptx
 
Computer Network.pptx
Computer Network.pptxComputer Network.pptx
Computer Network.pptx
 
Gantt Chart.pptx
Gantt Chart.pptxGantt Chart.pptx
Gantt Chart.pptx
 
Ayan Das_25300121057.pptx
Ayan Das_25300121057.pptxAyan Das_25300121057.pptx
Ayan Das_25300121057.pptx
 
Ayan Das_25300121057.pptx
Ayan Das_25300121057.pptxAyan Das_25300121057.pptx
Ayan Das_25300121057.pptx
 
Ayan Das_25300121057.pptx
Ayan Das_25300121057.pptxAyan Das_25300121057.pptx
Ayan Das_25300121057.pptx
 

Recently uploaded

Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
integral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdfintegral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdf
gaafergoudaay7aga
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
ramrag33
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 

Recently uploaded (20)

Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
integral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdfintegral complex analysis chapter 06 .pdf
integral complex analysis chapter 06 .pdf
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 

Numerical Methods.pptx

  • 1. Topic: Approximation and Error Name: Ayan Das Dept: CSE Sem: 6th Year: 3rd Subject: Numerical Methods Subject Code: OEC-IT601A Roll No: 25300121057 Reg No: 212530100120005 Supreme Knowledge Foundation Group Of Institutions
  • 2. • Numerical methods yield approximate results, results that are close to the exact analytical solution. – Only rarely given data are exact, since they originate from measurements. Therefore there is probably error in the input information. – Algorithm itself usually introduces errors as well, e.g., unavoidable round-offs, etc … – The output information will then contain error from both of these sources.
  • 3. Significant Figure Accuracy and Precision Error Taylor Series Types of Approximation and Error
  • 4. S i g n i f i c a n t F i g u r e Significant figures of a number are those that can be used with confidence.  Rules for identifying sig. figures: • All non-zero digits are considered significant. For example, 91 has two significant digits (9 and 1), while 123.45 has five significant digits (1, 2, 3, 4 and 5). • Zeros appearing anywhere between two non-zero digits are significant. Example: 101.12 has five significant digits. • Leading zeros are not significant. For example, 0.00052 has two significant digits • Trailing zeros are generally considered as significant. For example, 12.2300 has six significant digits.
  • 5. Example Number Number of Significant digits/figures 45 Two 0.046 Two 7.4220 Five 5002 Four 3800 Two
  • 6. 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 Example
  • 7. Error Definition Truncation errors Numerical errors arise from the use of approximations Errors Result when approximations are used to represent exact mathematical procedure. Result when numbers having limited significant figures are used to represent exact numbers. Round-off errors
  • 8. Round-off Errors  Numbers such as p, e, or cannot be expressed by a fixed number of significant figures.  Computers use a base-2 representation, they cannot precisely represent certain exact base-10 numbers.  Fractional quantities are typically represented in computer using “floating point” form, e.g., Example:   = 3.14159265358 to be stored carrying 7 significant digits.   = 3.141592 chopping   = 3.141593 rounding
  • 9. Truncation Errors Truncation errors are those that result using approximation in place of an exact mathematical procedure. dv  v  Vti1Vti  dt t ti1ti ____________
  • 10.  True error (Et) True error (Et) or Exact value of error = true value – approximated value  True percent relative error ( ) t true value True value  true value  approximated value 100 (%) t True percent relative error    Trueerror 100 (%) True Error
  • 11. Approximate Error • The true error is known only when we deal with functions that can be solved analytically. • In many applications, a prior true value is rarely available. • For this situation, an alternative is to calculate an approximation of the error using the best available estimate of the true value as:   Approximate percent relative error  Approximate error 100 (%)