chapter 2: numerical approximation

9
CHAPTER II NUMERICAL APPROXIMATION BY: MARIA FERNANDA VERGARA M. UNIVERSIDAD INDUSTRIAL DE SANTANDER

Upload: maria-fernanda

Post on 25-Jun-2015

600 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Chapter 2: Numerical Approximation

CHAPTER IINUMERICAL APPROXIMATION

BY: MARIA FERNANDA VERGARA M.UNIVERSIDAD INDUSTRIAL DE SANTANDER

Page 2: Chapter 2: Numerical Approximation

NUMERICAL APPROXIMATION

•A numerical approximation is a number X’ that represents another number which its exact value is X. X’ becomes more exact when is closer to the exact value of X

•Is important to take into account this numerical approximation because numerical solutions are not exact, but the main objective is to get a solution really close to the real solution.

Page 3: Chapter 2: Numerical Approximation

SIGNIFICANT FIGURES• “The concept of a 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 be used with confidence. They correspond to the number of certain digits plus one estimated digit.”-Numerical methods for engineers, CHAPRA-.

Numerical methods yield approximate results, so is important to specify how confident is the result.

Important quantities as π, e, √2, cannot be expressed exactly because computers retain a

only a finite number of significant figures.

Why significant figures are

important in numerical methods?

Page 4: Chapter 2: Numerical Approximation

ACCURACY AND PRECISION

ACCURACY

•Accuracy refers to how close to the real value is the measure made.

PRECISION

•Precision refers to how close are several measured values from each other.

Page 5: Chapter 2: Numerical Approximation

ERROR DEFINITIONS• Numerical errors originate when you

approximate to represent exact mathematical quantities or operations. This errors can be: Truncation errors which happen when approximations are used to represent mathemathical procedures; and round-off errors which happen when you use numbers with limited significant figures to express exact numbers.ET=Real Value - Approximation

Page 6: Chapter 2: Numerical Approximation

RELATIVE ERROR

True percent relative error

Relative error is a way to account for the magnitudes of the quantities being evaluated

Page 7: Chapter 2: Numerical Approximation

EXAMPLE EXERCISE• The measure of a bridge is 9999cm, and the

measure of a rivet is 9 cm, if the true values are 10.000cm and 10cm, respectively, compute the true error and the true percent relative error for each case.

Page 8: Chapter 2: Numerical Approximation

• In real world applications, we will not know the true value. So the procedure is to normalize the error using the best avaliable estimate of the true value:

Usin an iterative approach to compute answers, the approximated relative error

Page 9: Chapter 2: Numerical Approximation

ROUND-OFF ERRORS• This kind of errors originate because computers

can retain a finite number of significant figures, so numbers as e, π, cannot be expressed exactly.

• “Truncation errors are those that result from using an approximation in place of an exact mathematical procedure.”

TRUNCATION ERRORS