ESO 208A/ESO 218 LECTURE 2 JULY 31, 2013. ERRORS MODELING OUTPUTS QUANTIFICATION TRUE VALUE APPROXIMATE VALUE.

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

Roundoff and truncation errors
2009 Spring Errors & Source of Errors SpringBIL108E Errors in Computing Several causes for malfunction in computer systems. –Hardware fails –Critical.
1 IEEE Floating Point Revision Guide for Phase Test Week 5.
ECIV 201 Computational Methods for Civil Engineers Richard P. Ray, Ph.D., P.E. Error Analysis.
Approximations and Errors
Round-Off and Truncation Errors
Dr Damian Conway Room 132 Building 26
Chapter 5 Floating Point Numbers. Real Numbers l Floating point representation is used whenever the number to be represented is outside the range of integer.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 3 Approximations and Errors.
2-1 Computer Organization Part Fixed Point Numbers Using only two digits of precision for signed base 10 numbers, the range (interval between lowest.
Floating Point Numbers
Representing Real Numbers Using Floating Point Notation Lecture 6 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 5 Approximations, Errors and The Taylor Series.
1 Error Analysis Part 1 The Basics. 2 Key Concepts Analytical vs. numerical Methods Representation of floating-point numbers Concept of significant digits.
Floating Point Numbers
Computer Science 210 Computer Organization Floating Point Representation.
Binary Representation and Computer Arithmetic
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 31.
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.
Information Representation (Level ISA3) Floating point numbers.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI 230 Information Representation: Negative and Floating Point.
Chapter 1 Data Storage(3) Yonsei University 1 st Semester, 2015 Sanghyun Park.
1 COMS 161 Introduction to Computing Title: Numeric Processing Date: October 22, 2004 Lecture Number: 24.
Lecture 2 Number Representation and accuracy
Introduction to Numerical Analysis I
Computer Architecture
Data Representation - Part II. Characters A variable may not be a non-numerical type Character is the most common non- numerical type in a programming.
Floating Point. Agenda  History  Basic Terms  General representation of floating point  Constructing a simple floating point representation  Floating.
ME 142 Engineering Computation I Computer Precision & Round-Off Error.
Round-off Errors.
ACCURACY A description of how close measurement is to the true or accepted value of a measurement. Error or Absolute Error = Observed value – accepted.
Round-off Errors and Computer Arithmetic. The arithmetic performed by a calculator or computer is different from the arithmetic in algebra and calculus.
MECN 3500 Inter - Bayamon Lecture 3 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
1 Number Systems Lecture 10 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier, 2007.
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
Fractions in Binary.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 3.
Meeting 15 Introduction to Numerical Methods Error Analysis.
Errors in Numerical Methods
14/02/ Floating Point Representation Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker Presented.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.7 Instructor: Lin Chen Sept 2013.
R EPRESENTATION OF REAL NUMBER Presented by: Pawan yadav Puneet vinayak.
Numerical Analysis CC413 Propagation of Errors. 2 In numerical methods, the calculations are not made with exact numbers. How do these inaccuracies propagate.
Module 2.2 Errors 03/08/2011. Sources of errors Data errors Modeling Implementation errors Absolute and relative errors Round off errors Overflow and.
1 Approximations and Round-Off Errors Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis Applied Numerical Method for Engineers Chapter.
Chapter 2 Errors in Numerical Methods and Their Impacts.
Introduction to Numerical Analysis I
Department of Computer Science Georgia State University
Machine arithmetic and associated errors Introduction to error analysis Class II.
Significant Figures.
ME 142 Engineering Computation I
New head garb has been ordered
Numbers in a Computer Unsigned integers Signed magnitude
Errors in Numerical Methods
Roundoff and Truncation Errors
EEL 3705 / 3705L Digital Logic Design
Floating Point Representation
Errors in Numerical Methods
ERT 207 Analytical Chemistry
Approximations and Round-Off Errors Chapter 3
Starter Using the fingers on only one hand, what is the highest number you can count to? Rules: You must start at 1 You must count sequentially (i.e.
Accuracy vs. Precision & Significant Figures
Representation of real numbers
Mathematical Preliminaries
COMS 161 Introduction to Computing
Roundoff and Truncation Errors
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Presentation transcript:

ESO 208A/ESO 218 LECTURE 2 JULY 31, 2013

ERRORS MODELING OUTPUTS QUANTIFICATION TRUE VALUE APPROXIMATE VALUE

ROUND-OFF ERROR LIMITATION OF A COMPUTER QUANTITY WITH FINITE NUMBER OF DIGITS

TRUNCATION ERROR NUMERICAL METHOD APPROXIMATION OF MATHEMATICAL OPERATIONS/QUANTITY

SIGNIFICANT FIGURES SIGNIFICANT DIGITS OF A NUMBER ARE THOSE THAT CAN BE USED WITH CONFIDENCE CERTAIN DIGITS+ESTIMATED DIGIT(1) ESTIMATED DIGIT = HALF OF SMALLEST SCALE DIVISION

–  – 65  ? IMPLICATIONS OF SIGNIFICANT DIGITS

Significant figures {4} {4} {4} 4.53*10^4 {3} 4.530*10^4 {4}

ACCURACY HOW CLOSELY A COMPUTED VALUE AGREES WITH THE TRUE VALUE INACCURACY ALSO KNOWN AS BIAS

PRECISION HOW CLOSELY INDIVIDUAL COMPUTED VALUES AGREE WITH EACH OTHER IMPRECISSION IS ALSO UNCERTAINTY

TERMINOLOGY E t =TRUE VALUE-APPROXIMATION ε t = TRUE ERROR*100/TRUE VALUE ε a = APPROXIMATE ERROR*100/APPROXIMATION

ERRORS ITERATIVE METHODS Abs(ε a ) < ε s ε s = (0.5*10^{2-n})%

Example e^x =1+x+x^2/2!+x^3/3!+……+x^n/n! Estimate e^0.5 Add terms until the relative approximate error falls below specified tolerance confirming to 3 significant figures

Solution ε s = (0.5*10^{2-n})% Use n = 3 We get ε s = 0.05% True value = e^0.5 = ….. terms result ε t ε a

NUMBERS NUMBER SYSTEM: DECIMAL, OCTAL,BINARY POSITIONAL NOTATION = 8*10^4+…… (BINARY)= 2^7+2^5+2^3+2^2+2^0 173 (DECIMAL)

INTEGER SIGNED MAGNITUDE METHOD S NUMBER

EXAMPLE DETERMINE THE RANGE OF INTEGERS IN BASE 10 THAT CAN BE REPRESENTED ON A 16-BIT COMPUTER.

SOLUTION THE FIRST BIT HOLDS THE SIGN REMAINING 15 BITS CAN HAVE 0 TO 11111…. HIGHEST NUMBER IS 2^14+2^13+……. 2^15-1 = RANGE IS TO CONSIDER: 0, …. AND 1,000000…. -ZERO BECOMES THE NEXT NEGATIVE NUMBER RANGE IS TO

FLOATING POINT REPRESENTATION m*b^e m = the mantissa b = base e = exponent = *10^3

FLOATING POINT PRESENTATION sn 16 bits 1: sign of number 2-4: exponent; 2: sign of exponent 5-16: mantissa

FLOATING POINT PRESENTATION MANTISSA normalized {for leading zero digits} 1/34 = … *10^ *10^-1 ABSOLUTE VALUE OF ‘m’ IS LIMITED 1/b≤m<1