Introduction and Analysis of Error Pertemuan 1

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

Error Measurement and Iterative Methods
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
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.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
BELL RINGER – Complete on a sheet of paper and TURN IN before working on notes! A student needed to calibrate a graduated cylinder [a device to measure.
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
Chapter 2 Data Handling.
Lesson Starter Look at the specifications for electronic balances. How do the instruments vary in precision? Discuss using a beaker to measure volume versus.
The Scientific Method 1. Using and Expressing Measurements Scientific notation is written as a number between 1 and 10 multiplied by 10 raised to a power.
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.
Problem Solving: Methods, Formats, and Conventions Introduction to Mechanical Engineering The University of Texas-Pan American College of Science and Engineering.
Engineering Fundamentals and Problem Solving, 6e Chapter 6 Engineering Measurements.
Uncertainty in Measurements and Significant Figures Group 4 Period 1.
CISE301_Topic11 CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4:
EE 3561_Unit_1(c)Al-Dhaifallah EE 3561 : - Computational Methods in Electrical Engineering Unit 1: Introduction to Computational Methods and Taylor.
Section 8.1 Estimating  When  is Known In this section, we develop techniques for estimating the population mean μ using sample data. We assume that.
Scientific Measurement. Measurements are fundamental to the experimental sciences.  Measurement: A quantity that has both a number and a unit.  Scientific.
ME 142 Engineering Computation I Computer Precision & Round-Off Error.
BELL RINGER #1 Convert 125,458,621,000,000 to Scientific Notation. #2 Convert to Scientific Notation.
Round-off Errors.
Objectives Distinguish between accuracy and precision. Determine the number of significant figures in measurements. Perform mathematical operations involving.
© Copyright Pearson Prentice Hall Measurements and Their Uncertainty > Slide 1 of Using and Expressing Measurements A ___________________ is a quantity.
Round-off Errors and Computer Arithmetic. The arithmetic performed by a calculator or computer is different from the arithmetic in algebra and calculus.
Chemistry 100 Significant Figures. Rules for Significant Figures  Zeros used to locate decimal points are NOT significant. e.g., 0.5 kg = 5. X 10 2 g.
Uncertainty in Measurement Accuracy, Precision, Error and Significant Figures.
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
3.1 Using and Expressing Measurements > 1 Copyright © Pearson Education, Inc., or its affiliates. All Rights Reserved. Chapter 3 Scientific Measurement.
Numerical Methods.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 3.
Significant Figure Rules RulesExamples The following are always significant Non zero digits Zeros between non zero digits Zero to the right of a non zero.
Meeting 15 Introduction to Numerical Methods Error Analysis.
Linear Equation System Pertemuan 4 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Scientific Measurement Measurements and their Uncertainty Dr. Yager Chapter 3.1.
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.
Preview Lesson Starter Objectives Accuracy and Precision Significant Figures Scientific Notation Using Sample Problems Direct Proportions Inverse Proportions.
Errors in Numerical Methods
ESO 208A/ESO 218 LECTURE 2 JULY 31, ERRORS MODELING OUTPUTS QUANTIFICATION TRUE VALUE APPROXIMATE VALUE.
Significant Figures. Significant Figure Rules 1) ALL non-zero numbers (1,2,3,4,5,6,7,8,9) are ALWAYS significant. 1) ALL non-zero numbers (1,2,3,4,5,6,7,8,9)
Chapter 2 © Houghton Mifflin Harcourt Publishing Company Accuracy and Precision Accuracy refers to the closeness of measurements to the correct or accepted.
Chemistry Math Crunch Do you have what it takes?.
Numerical Analysis CC413 Propagation of Errors. 2 In numerical methods, the calculations are not made with exact numbers. How do these inaccuracies propagate.
Measurements contain uncertainties that affect how a calculated result is presented. Section 3: Uncertainty in Data K What I Know W What I Want to Find.
1 Approximations and Round-Off Errors Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis Applied Numerical Method for Engineers Chapter.
NUMERICAL ANALYSIS I. Introduction Numerical analysis is concerned with the process by which mathematical problems are solved by the operations.
Significant Figures!.
ME 142 Engineering Computation I
New head garb has been ordered
Chapter 2 ERROR ANALYSIS
Introduction to Significant Figures &
Approximations and Round-Off Errors Chapter 3
Section 3-2 Uncertainty in Measurements
Science and Measurement
Measuring Errors Major: All Engineering Majors
Numerical Analysis Lecture 2.
Accuracy and Precision
Significant Figures.
Chapter 1 / Error in Numerical Method
Adama Science and Technology University Chemical Engineering Program Numerical Methods for Chemical Engineers (ChE 2104 ) Errors of Numeric Result Chemical.
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:

Introduction and Analysis of Error Pertemuan 1 Matakuliah : S0262-Analisis Numerik Tahun : 2010 Introduction and Analysis of Error Pertemuan 1

Material Outline Introduction to Numerical Methods Approximation and Errors Propagation of Errors

Numerical Analysis  Numerical Methods Numerical Analysis: Methods for providing numerical answer when analytic procedures are either computationally difficult or nonexistent. Numerical Analysis: Always involving complicated arithmetic computations  Need the help of computing machines (computers) Numerical Analysis  Numerical Methods 21-Apr-17 DR. Paston Sidauruk

Why Numerical methods are important: In real life many problems can not be solved analytically. Numerical Analysis is a universal procedure (It can be applied to many different engineering fields such as CE, ME, EE, and IT) The fast growing development of computing machines (computers) 21-Apr-17 DR. Paston Sidauruk

Choosing appropriate Numerical methods. Developing a program INTRODUCTION It is a fact that many mathematical or engineering problems or or physics phenomena can not be solved analytically (exact solution)  For this type of problems or phenomena, numerical analysis can give the solution. Numerical Work in general will cover the following steps: Modeling : formulating a given work (problem) into mathematical equations. Choosing appropriate Numerical methods. Developing a program Executing the program Analyzing the results Note: Numerical Methods is always involving serious arithmetical calculation  Need the help of computer. 21-Apr-17

Some Concerns About Numerical Analysis: Numerical Value: is an approximation of true value that never known, hence we have to concern about the errors that may occur. 21-Apr-17

ERRORS In numerical solution, the results we get is the best approximation to true value. Hence the numerical solution is always associated to certain degree of errors. For this purpose, a true value of any parameter can be written as : a  ã - Et In which : a = true value (exact) ã = approximation (derived from measurements, calculations etc) Et = total error Numerical Errors: arise from the use of approximations to represent exact mathematical operations and quantities. 21-Apr-17

RELATIVE ERRORS Relative error of approximation: It is sometimes desired to normalize the error with the true value such as to account the magnitudes of the quantities being evaluated, such error called relative error. Relative error t=true error/true value Relative error of approximation: a= approximation error/approximation In the approximation of using iteration ( current approximation is based on the previous approximation), then the relative error of approximation is given below: a= (current approximation – previous approximation)/ current approximation In numerical computations or iteration process, it is sometimes to pre specify the tolerance (s) such that the following eq is satisfied, | a|< tolerance (s) =(0,5 x 102-n) % n= significant figure 21-Apr-17

Errors sources Experimental errors (errors arise from experiments, measurements etc) Round off errors (errors because of rounding) Truncation errors (errors arise from a process of simplification an algorithms, computations, steps in algorithms) Programming errors 21-Apr-17

Example: A MacLaurin series of ex is given below: If the 1st term is considered as 1st estimate, the first 2 terms as the second estimate of ex, how many do you have to include in the series such that the relative errors | a|< s. In which a pre specified tolerance conforming to 3 significant figures. Find the true error and approximation errors. Note: e0,5= 1.648721271 Solution: s =(0,5 x 102-3)%= 0,05 % 21-Apr-17

Example (Cont.): e0,5= 1,648721271 Solution: s =(0,5 x 102-3)%= 0,05 % Therefore, the minimum of the first 6 terms have to be used to estimate ex such that the error of approximation is less than the pre-specified tolerance. 2nd column: Series value for x= 0.5, 3rd column= (2nd column)/1.648721271. Ith tern Result t (%) a (%) 1. 1 39,3 2 1,5 9,02 33,3 3 1,625 1,44 7,69 4 1,645833333 0,175 1,27 5 1,648437500 0,0172 0,158 6 1,648697917 0,00142 0,0158 21-Apr-17

FINITE NUMBERS: can be written in two ways 1. fixed- point system ( is written according to the specified number of decimal place) Example: 62.358; 0.013; and 1.000 (3 decimal place) 2. floating- point system is written according to certain significant figures Example: 0.6238 * 103; 1.7130 * 10-13; 2000 * 104 21-Apr-17

Significant Figures The concept of significant figures designate the reliability of a numerical value. All digits that can be used with confidence. Example: 4 digit significant figures 1.360 ; 1360 ; 0.001360 All zeros that are needed only to locate the decimal point are not counted as significant figures: Example: all of the following numbers are in 4 significant figures 0.01845; 0.0001845; 0.001845 Also: 4.53 * 104 (3 significant figures) 4.530 * 104 (4 significant figures) 4.5300 * 104 (5 significant figures) 21-Apr-17

Rounding a number to certain significant figures Those digits that are not significant will be omitted. The last digit that is saved will rounded up if the first digit in the omitted digits >5 and if the 1st in the omitted digits =5 and the last digit in the saved digits is odd number. The final results of summation or subtraction will be rounded to the most significant figures of all the numbers (quantities) that are being operated. The final results of multiplication or division will be rounded such that the number of significant figures will be equivalent with the least number of significant figures of all the numbers (quantities) that are being operated. 21-Apr-17

Rounding a number to certain significant figures Examples: Summation/Subtraction Evaluate: 2.2 – 1.768  2.2-1.768= 0.432  0.4 4.68 x 10-7+8.3x10-4-228x10-6= ….? ……. (6.0x10-4) Multiplication/Division 0.0642x 4,8= 0.30816 0.31 945/0.3185= 2967.0329672970 21-Apr-17

Function of single Variable Error Propagation The purpose is to study how errors in numbers propagates through mathematical functions Function of single Variable 21-Apr-17

Function of single Variable Example: Given a value of Error Propagation Function of single Variable Example: Given a value of Answer: 21-Apr-17

Function of more than one variable Error Propagation Function of more than one variable 21-Apr-17

Function of more than one variable Example/Exercises: Error Propagation Function of more than one variable Example/Exercises: 21-Apr-17

Estimated Error for common mathematical operations Error Propagation Estimated Error for common mathematical operations Operation Estimated Error Addition Subtraction Multiplication Division 21-Apr-17