1 Approximations and Round-Off Errors Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis Applied Numerical Method for Engineers Chapter.

Slides:



Advertisements
Similar presentations
Part 1 Chapter 4 Roundoff and Truncation Errors PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The McGraw-Hill.
Advertisements

3- 1 Chapter 3 Introduction to Numerical Methods Second-order polynomial equation: analytical solution (closed-form solution): For many types of problems,
2009 Spring Errors & Source of Errors SpringBIL108E Errors in Computing Several causes for malfunction in computer systems. –Hardware fails –Critical.
ECIV 201 Computational Methods for Civil Engineers Richard P. Ray, Ph.D., P.E. Error Analysis.
Approximations and Errors
NUMERICAL ERROR ENGR 351 Numerical Methods for Engineers
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 6 Roots of Equations Bracketing Methods.
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 3 Approximations and Errors.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 5 Approximations, Errors and The Taylor Series.
NUMERICAL ERROR ENGR 351 Numerical Methods for Engineers Southern Illinois University Carbondale College of Engineering Dr. L.R. Chevalier.
1 Error Analysis Part 1 The Basics. 2 Key Concepts Analytical vs. numerical Methods Representation of floating-point numbers Concept of significant digits.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Least-Squares Regression
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 31.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Introduction and Analysis of Error Pertemuan 1
CHEMISTRY ANALYTICAL CHEMISTRY Fall Lecture 4.
Chapter 2 Data Handling.
MMJ 1113 Computational Methods for Engineers Mohsin Mohd Sies Fakulti Kejuruteraan Mekanikal, Universiti Teknologi Malaysia.
Accuracy: The closeness of a measurement to the true or actual value
Using and Expressing Measurements
Lecture 2 Number Representation and accuracy
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Using Scientific Measurements. Uncertainty in Measurements All measurements have uncertainty. 1.Measurements involve estimation by the person making the.
ES 240: Scientific and Engineering Computation. Chapter 4 Chapter 4: Errors Uchechukwu Ofoegbu Temple University.
ME 142 Engineering Computation I Computer Precision & Round-Off Error.
Truncation Error and the Taylor Series
Villanova University Dept. of Civil & Environmental Engineering CEE 3704 Statistical and Numerical Analysis 1 CEE 3704 Statistical and Numerical Analysis.
LECTURER PROF.Dr. DEMIR BAYKA AUTOMOTIVE ENGINEERING LABORATORY I.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Mathematical Modeling and Engineering Problem Solving
NUMERICAL ERROR Student Notes ENGR 351 Numerical Methods for Engineers Southern Illinois University Carbondale College of Engineering Dr. L.R. Chevalier.
MECN 3500 Inter - Bayamon Lecture 3 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 3.
Sensitivity derivatives Can obtain sensitivity derivatives of structural response at several levels Finite difference sensitivity (section 7.1) Analytical.
Meeting 15 Introduction to Numerical Methods Error Analysis.
Chemistry Mrs. Algier Do Now: Complete the Chapter 2 vocabulary worksheet.
Scientific Measurement Measurements and their Uncertainty Dr. Yager Chapter 3.1.
Slide 1 of 48 Measurements and Their Uncertainty
Numerical Analysis CC413 Propagation of Errors.
Slide 1 of 48 Measurements and Their Uncertainty
Errors in Numerical Methods
ESO 208A/ESO 218 LECTURE 2 JULY 31, ERRORS MODELING OUTPUTS QUANTIFICATION TRUE VALUE APPROXIMATE VALUE.
Measurements and their Uncertainty
Numerical Analysis CC413 Propagation of Errors. 2 In numerical methods, the calculations are not made with exact numbers. How do these inaccuracies propagate.
Matter, Measurement, and Problem Solving Reliability of Measurement.
CHAPTER 3 SCIENTIFIC MEASUREMENT. A measurement is a quantity that has both a number and a unit Quantity represents a size, magnitude, or amount Your.
1 Gauss-Seidel Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis Applied Numerical Method for Engineers Chapter 11.
Chapter 2 Errors in Numerical Methods and Their Impacts.
Uncertainties in Measurement Laboratory investigations involve taking measurements of physical quantities. All measurements will involve some degree of.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Significant Figures.
ME 142 Engineering Computation I
Uncertainty in Measurement
Chapter 2 ERROR ANALYSIS
Pengenalan Awal Metode Numerik
Roundoff and Truncation Errors
Approximations and Round-Off Errors Chapter 3
Chapter 3 Scientific Measurement 3.1 Using and Expressing Measurements
Mathematical Model.
Numerical Analysis Lecture 2.
Measurements and Their Uncertainty 3.1
CHAPTER – 1.1 UNCERTAINTIES IN MEASUREMENTS.
Chapter 1 / Error in Numerical Method
Roundoff and Truncation Errors
Adama Science and Technology University Chemical Engineering Program Numerical Methods for Chemical Engineers (ChE 2104 ) Errors of Numeric Result Chemical.
Presentation transcript:

1 Approximations and Round-Off Errors Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis Applied Numerical Method for Engineers Chapter 3

2 Background The numerical technique yielded estimates that were close to the exact analytical solution, as discussed in Chapter 1. There was a discrepancy, or error because numerical method involved an approximation. In many engineering applications, we cannot obtain analytical solutions, therefore we need to settle for the approximations or estimates of errors.

3 Significant Figures Velocity = ? 49 or 48 km/h?

4 Significant Figures or 48.9 km/h? or km/h?

5 Significant Figures The concept of significant figure, or digit, has been developed to formally designate the reliability of a numerical value. The significant digits of a number are those that can use with confidence

6 Accuracy and Precision The errors associated with both calculations and measurements can be characterized with regard to their accuracy and precision. Accuracy refers to how closely a computed or measured value agrees with true value. Precision refers to how closely individual computed or measured value agree with each other.

7

8 Error definitions Numerical errors arise from the use of approximations to represent exact mathematical operations and quantities. True error: The true percent relative error:

9 Ex. 3.1 Calculation of errors Suppose that you have the task of measuring the lengths of a bridge and a rivet and come up with 9999 and 9 cm, respectively. If the true values are 10,000 and 10 cm, respectively, compute (a) the true error and (b) the percent relative error for each case. Solution (a) The true error for bridge: The true error for rivet: Solution (b) The percent relative error for bridge: The true error for rivet:

10 Real-world applications We will obviously NOT know the true value. For these situations, an alternative is to normalize the error using the best available estimate the true value. The approximate percent relative error: In the case of Iterative Methods The number of significant figures

11 Ex. 3.2 Error estimates for iterative methods In mathematics, functions can often be represented by infinite series. For example, the exponential function can be computed using Thus, more terms are added in sequence, he approximation become a better and better estimate of the true value of e x = 1, add terms one at a time to estimate e 0.5 Compute approximate error estimate  a so that it falls below a pre-specified error criterion  s, up to three significant figures.

12 Ex. 3.2 Error estimates for iterative methods Solution: Up to three significant figures: A true percent relative error (Eq. 3.3) An approximate estimate of error

13 Results

14 Round-Off Error Round-off errors originate from the fact that computers retain only a fixed number of significant figures during calculation. Number such as , e, or  7 cannot be expressed by a fixed number of significant figures The discrepancy introduced by this omission of significant figures is called round-off error