Chapter 2 ERROR ANALYSIS

Slides:



Advertisements
Similar presentations
3- 1 Chapter 3 Introduction to Numerical Methods Second-order polynomial equation: analytical solution (closed-form solution): For many types of problems,
Advertisements

Roundoff and truncation errors
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
Round-Off and Truncation Errors
Lecture 2: Numerical Differentiation. Derivative as a gradient
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 3 Approximations and Errors.
1 Error Analysis Part 1 The Basics. 2 Key Concepts Analytical vs. numerical Methods Representation of floating-point numbers Concept of significant digits.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Real Numbers and Their Properties รายวิชา ค ความรู้พื้นฐานสำหรับแคลคูลัส 1 ภาคเรียนที่ 1 ปีการศึกษา 2552.
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
Numerical Computations in Linear Algebra. Mathematically posed problems that are to be solved, or whose solution is to be confirmed on a digital computer.
MMJ 1113 Computational Methods for Engineers Mohsin Mohd Sies Fakulti Kejuruteraan Mekanikal, Universiti Teknologi Malaysia.
Chapter 18 Limitations of Computing. Chapter Goals – THE BIG SLICES Limitations of Hardware Limitations of Software Limitations of Problems 2.
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.
MATH 685/CSI 700 Lecture Notes Lecture 1. Intro to Scientific Computing.
CISE301_Topic11 CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4:
Data Representation in Computer Systems
5.2 Errrors. Why Study Errors First? Nearly all our modeling is done on digital computers (aside: what would a non-digital analog computer look like?)
Round-off Errors.
Round-off Errors and Computer Arithmetic. The arithmetic performed by a calculator or computer is different from the arithmetic in algebra and calculus.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter.
NUMERICAL ERROR Student Notes ENGR 351 Numerical Methods for Engineers Southern Illinois University Carbondale College of Engineering Dr. L.R. Chevalier.
P.1 Real Numbers. 2 What You Should Learn Represent and classify real numbers. Order real numbers and use inequalities. Find the absolute values of real.
MECN 3500 Inter - Bayamon Lecture 3 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 3.
Meeting 15 Introduction to Numerical Methods Error Analysis.
Lecture 4 - Numerical Errors CVEN 302 June 10, 2002.
Numerical Analysis CC413 Propagation of Errors.
Numerical Analysis. Numerical Analysis or Scientific Computing Concerned with design and analysis of algorithms for solving mathematical problems that.
Errors in Numerical Methods
ESO 208A/ESO 218 LECTURE 2 JULY 31, ERRORS MODELING OUTPUTS QUANTIFICATION TRUE VALUE APPROXIMATE VALUE.
Numerical Analysis CC413 Propagation of Errors. 2 In numerical methods, the calculations are not made with exact numbers. How do these inaccuracies propagate.
Binary Numbers The arithmetic used by computers differs in some ways from that used by people. Computers perform operations on numbers with finite and.
Module 2.2 Errors 03/08/2011. Sources of errors Data errors Modeling Implementation errors Absolute and relative errors Round off errors Overflow and.
Numerical Methods and Optimization C o u r s e 1 By Bharat R Chaudhari.
1 M 277 (60 h) Mathematics for Computer Sciences Bibliography  Discrete Mathematics and its applications, Kenneth H. Rosen  Numerical Analysis, Richard.
Cosc 2150: Computer Organization Chapter 9, Part 3 Floating point numbers.
Chapter 2 Errors in Numerical Methods and Their Impacts.
NUMERICAL ANALYSIS I. Introduction Numerical analysis is concerned with the process by which mathematical problems are solved by the operations.
Introduction to Numerical Analysis I
Department of Computer Science Georgia State University
Machine arithmetic and associated errors Introduction to error analysis Class II.
Binary Numbers The arithmetic used by computers differs in some ways from that used by people. Computers perform operations on numbers with finite and.
Dr. Clincy Professor of CS
ME 142 Engineering Computation I
William Stallings Computer Organization and Architecture 7th Edition
Chapter 6 Floating Point
Recent from Dr. Dan Lo regarding 12/11/17 Dept Exam
Recall our hypothetical computer Marc-32
Class Notes 18: Numerical Methods (1/2)
Roundoff and Truncation Errors
Floating Point Representation
Dr. Clincy Professor of CS
Approximations and Round-Off Errors Chapter 3
Storing Negative Integers
Chapter 3 DataStorage Foundations of Computer Science ã Cengage Learning.
Numerical Analysis Lecture 2.
Representation of real numbers
Recent from Dr. Dan Lo regarding 12/11/17 Dept Exam
SKTN 2393 Numerical Methods for Nuclear Engineers
Chapter 1 / Error in Numerical Method
Roundoff and Truncation Errors
Errors and Error Analysis Lecture 2
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Presentation transcript:

Chapter 2 ERROR ANALYSIS

2.1.1 Definition of Error The arithmetic performed by a calculator or computer differs from the arithmetic that we use in our algebra and calculus courses Traditional mathematical world: numbers with an infinite number of nonperiodic digits Computational world: each representable number has only a fixed, finite number of digits. Those numbers which do not have a finite-digit representation, is given with an approximate representation within the machine, sufficiently close to the original number

A computing machine can only understand discrete values, so we always have to regard any continuous quantity as discrete one when calculating numerically. Example: we cannot find exact value of x with x2 = 2 , we can only determine the approximate value of it: x = 1.414…  approximation always differs from the real (or true) value.

The difference between the actual value and approximated one is called an error. If X is a real value, x is approximation, then the error e[x] is the function of x: Absolute error: the absolute value of difference between real and approximated values |e[x]| = |x-X| Relative error is provided that X≠0

The absolute value of error is When this inequality is satisfied, ε[x] is called error limit  The absolute value of relative error If this inequality is satisfied, er[x] is known here as relative error limit. If ε/x is small enough, then we can impose and relative error limit is expressed as

Figure 2.1 The range of real value

Accuracy expresses the exactness of conforming approximated value with real one Example: if actual value is 1.2345 and approximation is 1.2346, then the accuracy is of fourth order. Accuracy p is defined as The decimal accuracy can be calculated as log10 p

2.1.2Typical type of errors in numerical procedure A process of numerical modeling is usually carried out in the order represented on the figure below with errors occurring on every step. Physical development -> Mathematical model expression (model error) -> Computational algorithm (approximation error) -> Data input process (input error) -> Computation execution (computational error) - > Computational results output (output error)

Model error (equation error): occurs when formulating mathematical model, trying to compose the model more naturally and conveniently (for example, we can handle model linearly even if it is non-linear model) Approximation error: a result of that all the numerical models are usually calculated through approximate expressions Truncation error: error involved in using a truncated, or finite, summation to approximate the sum of an infinite series Input error: when inputting observed data, observation error occurs. Also, to express input data through finite number, approximation error occurs. These become input error in calculation process. Calculation error: occurs in computational procedure - rounding, terms elimination, error transmission, etc.

Round-off errors occurs when a calculator or computer is used to perform real-number calculations; results from replacing a number with it floating-point form Typical computer: only a relatively small subset of the real number system is used for the representation of all the real numbers This subset contains only rational numbers, both positive and negative, and stores a fractional part, called the mantissa, together with an exponential part, called the characteristic Underflow occurs when numbers have too small magnitude (of less than 16-65) – often set to zero Overflow occurs when numbers have too big magnitude (greater than 1663) – cause the computations to halt

(1) Model Error Ex: y = x2+1 and y = sin x Problem: to find y at the given x point. First equation is easy to solve by standard algebraic methods Second one should be expanded in Taylor series: Here n is infinitely large, but we need to limit it by finite number to use in practice.