SlideShare a Scribd company logo
1 of 11
RUBEN DARIO ARISMENDI RUEDA
   CHAPTER 2: ‘APPROXIMATIONS AND ROUND OF ERROR’
INTRODUCTION Approximation and round-off error is an interesting topic for all engineers. Because all the measures taken from experiments or studies in real world are not exact, which causes deviations (errors) on the results that we obtain from the solutions.
Approximation: Approximation usually occurs when an exact form or an exact numerical number is unknown or difficult to obtain. To talk about approximation, we have to introduce a new concept ''Number of Significant Figures'' that indicates Precision (number of digits after a coma). Most of the times when we have a number with many digits after a coma, we often take three digits, in other terms, we approximate the number. Computer programs in numerical methods often take an specific number of significant digits. ≈
Error: ''Numerical errors arise from the use of approximations to represent exact mathematical operations and quantities. The include truncation errors, which result when approximations are used to represent exact mathematical procedures, and round-off errors, which result when numbers having significant figures, are used to represent exact numbers.''*Numerical Methods for Engineers . Steven C. Chapra, pag 54 .The errors appears for a simple reason, which is ''empirical measurements'', all the data that we take are by our senses, we are not perfect so some deviations are include in every measurement we take. That's why is so important to calculate them, and try to have a small error, which indicates that we are really close from the exact result or near the result that we expect.
Types of errors. Truncation Errors: it has two types of errors.Local truncation error:The local truncation error is the error that our increment function, A, causes during a given iteration, assuming perfect knowledge of the true solution at the previous iteration.Global truncation errorThe global truncation error is the accumulation of the local truncation error over all of the iterations, assuming perfect knowledge of the true solution at the initial time step.
2. 	Rounding Error :rounding error, is the difference between the calculated approximation of a number and its exact mathematical value. EXAMPLE: Truncation: simply chop off the remaining digits; also called rounding to zero. 0.142857 ≈ 0.142 (dropping all significant digits after 3rd)  Round to nearest: round to the nearest value, with ties broken in one of two ways. The result may round up or round down. 0.142857 ≈ 0.143 (rounding the 4th significant digit. This is rounded up because 8 is higher than 5 )
¿HOW THE ERROR IS CALCULATED? To calculate the error we have to know the approximate value. This is the Absolute Error; which is equal to the discrepancy between the truth and the approximation. Absolute Error (E)= true value - approximation . (E)means ''Exact value of error'' Now there is another value that we have to concern about, and is the ''Relative Error ()''. which is the percentage difference between the absolute value and the real value.
Bibliography: ,[object Object]

More Related Content

What's hot

Numerical differentiation
Numerical differentiationNumerical differentiation
Numerical differentiation
andrushow
 
Extension principle
Extension principleExtension principle
Extension principle
Savo Delić
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
Nofal Umair
 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration
8laddu8
 

What's hot (20)

BISECTION METHOD
BISECTION METHODBISECTION METHOD
BISECTION METHOD
 
presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve
 
Numerical differentiation
Numerical differentiationNumerical differentiation
Numerical differentiation
 
Linear and non linear equation
Linear and non linear equationLinear and non linear equation
Linear and non linear equation
 
Analytic function
Analytic functionAnalytic function
Analytic function
 
Unit4
Unit4Unit4
Unit4
 
Interpolation
InterpolationInterpolation
Interpolation
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
newton raphson method
newton raphson methodnewton raphson method
newton raphson method
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical Analysis
 
Homogeneous Linear Differential Equations
 Homogeneous Linear Differential Equations Homogeneous Linear Differential Equations
Homogeneous Linear Differential Equations
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Higher order differential equations
Higher order differential equationsHigher order differential equations
Higher order differential equations
 
weddle's rule
weddle's ruleweddle's rule
weddle's rule
 
Extension principle
Extension principleExtension principle
Extension principle
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
 
Engineering mathematics 1
Engineering mathematics 1Engineering mathematics 1
Engineering mathematics 1
 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration
 

Similar to Approximation and error

Numerical approximation and solution of equations
Numerical approximation and solution of equationsNumerical approximation and solution of equations
Numerical approximation and solution of equations
Robinson
 
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
Naoki Shibata
 
Riya Bepari_34700122020_Numerical Methods.pptx
Riya Bepari_34700122020_Numerical Methods.pptxRiya Bepari_34700122020_Numerical Methods.pptx
Riya Bepari_34700122020_Numerical Methods.pptx
RIYABEPARI
 

Similar to Approximation and error (20)

Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
numerical analysis
numerical analysisnumerical analysis
numerical analysis
 
Error(Computer Oriented Numerical and Statistical Method)
Error(Computer Oriented Numerical and Statistical Method)Error(Computer Oriented Numerical and Statistical Method)
Error(Computer Oriented Numerical and Statistical Method)
 
Numerical approximation and solution of equations
Numerical approximation and solution of equationsNumerical approximation and solution of equations
Numerical approximation and solution of equations
 
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
(Slides) Efficient Evaluation Methods of Elementary Functions Suitable for SI...
 
Numerical analysis using Scilab: Error analysis and propagation
Numerical analysis using Scilab: Error analysis and propagationNumerical analysis using Scilab: Error analysis and propagation
Numerical analysis using Scilab: Error analysis and propagation
 
Riya Bepari_34700122020_Numerical Methods.pptx
Riya Bepari_34700122020_Numerical Methods.pptxRiya Bepari_34700122020_Numerical Methods.pptx
Riya Bepari_34700122020_Numerical Methods.pptx
 
Numerical approximation
Numerical approximationNumerical approximation
Numerical approximation
 
Chapter#7
Chapter#7Chapter#7
Chapter#7
 
Numerical Methods.pptx
Numerical Methods.pptxNumerical Methods.pptx
Numerical Methods.pptx
 
Numerical Analysis And Linear Algebra
Numerical Analysis And Linear AlgebraNumerical Analysis And Linear Algebra
Numerical Analysis And Linear Algebra
 
Unit ii ca--arithmetic
Unit ii ca--arithmeticUnit ii ca--arithmetic
Unit ii ca--arithmetic
 
Introduction-Accuracy-and-Errors.pdf
Introduction-Accuracy-and-Errors.pdfIntroduction-Accuracy-and-Errors.pdf
Introduction-Accuracy-and-Errors.pdf
 
Error
ErrorError
Error
 
19IS402_LP1_LM_22-23.pdf
19IS402_LP1_LM_22-23.pdf19IS402_LP1_LM_22-23.pdf
19IS402_LP1_LM_22-23.pdf
 
VCE Physics: Dealing with numerical measurments
VCE Physics: Dealing with numerical measurmentsVCE Physics: Dealing with numerical measurments
VCE Physics: Dealing with numerical measurments
 
Problem solving techniques in c language
Problem solving techniques in c languageProblem solving techniques in c language
Problem solving techniques in c language
 
Chapter 1 Errors and Approximations.ppt
Chapter 1 Errors  and Approximations.pptChapter 1 Errors  and Approximations.ppt
Chapter 1 Errors and Approximations.ppt
 
Logic Development and Algorithm.
Logic Development and Algorithm.Logic Development and Algorithm.
Logic Development and Algorithm.
 

More from rubenarismendi (17)

Iterative methods
Iterative methodsIterative methods
Iterative methods
 
Iterative methods
Iterative methodsIterative methods
Iterative methods
 
Iterative methods
Iterative methodsIterative methods
Iterative methods
 
Special methods
Special methodsSpecial methods
Special methods
 
Iterative methods
Iterative methodsIterative methods
Iterative methods
 
Direct sustitution methods
Direct sustitution methodsDirect sustitution methods
Direct sustitution methods
 
Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
 
Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
 
Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
 
Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
 
Taylor 1
Taylor 1Taylor 1
Taylor 1
 
Taylor
TaylorTaylor
Taylor
 
Taylor
TaylorTaylor
Taylor
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
Mathematical modeling
Mathematical modelingMathematical modeling
Mathematical modeling
 
Matrizinversa
MatrizinversaMatrizinversa
Matrizinversa
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Approximation and error

  • 2. CHAPTER 2: ‘APPROXIMATIONS AND ROUND OF ERROR’
  • 3. INTRODUCTION Approximation and round-off error is an interesting topic for all engineers. Because all the measures taken from experiments or studies in real world are not exact, which causes deviations (errors) on the results that we obtain from the solutions.
  • 4. Approximation: Approximation usually occurs when an exact form or an exact numerical number is unknown or difficult to obtain. To talk about approximation, we have to introduce a new concept ''Number of Significant Figures'' that indicates Precision (number of digits after a coma). Most of the times when we have a number with many digits after a coma, we often take three digits, in other terms, we approximate the number. Computer programs in numerical methods often take an specific number of significant digits. ≈
  • 5. Error: ''Numerical errors arise from the use of approximations to represent exact mathematical operations and quantities. The include truncation errors, which result when approximations are used to represent exact mathematical procedures, and round-off errors, which result when numbers having significant figures, are used to represent exact numbers.''*Numerical Methods for Engineers . Steven C. Chapra, pag 54 .The errors appears for a simple reason, which is ''empirical measurements'', all the data that we take are by our senses, we are not perfect so some deviations are include in every measurement we take. That's why is so important to calculate them, and try to have a small error, which indicates that we are really close from the exact result or near the result that we expect.
  • 6.
  • 7. Types of errors. Truncation Errors: it has two types of errors.Local truncation error:The local truncation error is the error that our increment function, A, causes during a given iteration, assuming perfect knowledge of the true solution at the previous iteration.Global truncation errorThe global truncation error is the accumulation of the local truncation error over all of the iterations, assuming perfect knowledge of the true solution at the initial time step.
  • 8. 2. Rounding Error :rounding error, is the difference between the calculated approximation of a number and its exact mathematical value. EXAMPLE: Truncation: simply chop off the remaining digits; also called rounding to zero. 0.142857 ≈ 0.142 (dropping all significant digits after 3rd) Round to nearest: round to the nearest value, with ties broken in one of two ways. The result may round up or round down. 0.142857 ≈ 0.143 (rounding the 4th significant digit. This is rounded up because 8 is higher than 5 )
  • 9.
  • 10. ¿HOW THE ERROR IS CALCULATED? To calculate the error we have to know the approximate value. This is the Absolute Error; which is equal to the discrepancy between the truth and the approximation. Absolute Error (E)= true value - approximation . (E)means ''Exact value of error'' Now there is another value that we have to concern about, and is the ''Relative Error ()''. which is the percentage difference between the absolute value and the real value.
  • 11.