Second Term 05/061 Part 3 Truncation Errors (Supplement)

Slides:



Advertisements
Similar presentations
Section 11.6 – Taylor’s Formula with Remainder
Advertisements

Roundoff and truncation errors
Calculus I – Math 104 The end is near!. Series approximations for functions, integrals etc.. We've been associating series with functions and using them.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Ordinary Differential Equations
CSE Differentiation Roger Crawfis. May 19, 2015OSU/CIS 5412 Numerical Differentiation The mathematical definition: Can also be thought of as the.
Numerical Computation
ECIV 201 Computational Methods for Civil Engineers Richard P. Ray, Ph.D., P.E. Error Analysis.
Part 3 Truncation Errors Second Term 05/06.
1 Part 3 Truncation Errors (Supplement). 2 Error Propagation How errors in numbers can propagate through mathematical functions? That is, what's the effect.
Atms 4320 Lab 2 Anthony R. Lupo. Lab 2 -Methodologies for evaluating the total derviatives in the fundamental equations of hydrodynamics  Recall that.
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
Revision.
Part 3 Truncation Errors.
Dr. Jie Zou PHY Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (II) 1 1 Besides the main textbook, also see Ref.: “Applied.
1 Error Analysis Part 1 The Basics. 2 Key Concepts Analytical vs. numerical Methods Representation of floating-point numbers Concept of significant digits.
Calculus I – Math 104 The end is near!. 1. Limits: Series give a good idea of the behavior of functions in the neighborhood of 0: We know for other reasons.
Copyright © 2005 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
NUMERICAL DIFFERENTIATION The derivative of f (x) at x 0 is: An approximation to this is: for small values of h. Forward Difference Formula.
Calculus and Analytic Geometry II Cloud County Community College Spring, 2011 Instructor: Timothy L. Warkentin.
Chapter 1 Infinite Series. Definition of the Limit of a Sequence.
Lecture 2 Number Representation and accuracy
MATH 685/CSI 700 Lecture Notes Lecture 1. Intro to Scientific Computing.
Taylor’s Polynomials & LaGrange Error Review
Consider the following: Now, use the reciprocal function and tangent line to get an approximation. Lecture 31 – Approximating Functions
Truncation Error and the Taylor Series
Round-off Errors.
9.3 Taylor’s Theorem: Error Analysis for Series
Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter.
1Series 1.1Alternating Series 1.2Absolute Convergence 1.3 Rearrangement of Series. 1.4Comparison Tests 1.5Ratio and Root Tests 1.6Other tests MAT
9.7 and 9.10 Taylor Polynomials and Taylor Series.
Remainder Estimation Theorem
Taylor’s Theorem: Error Analysis for Series. Taylor series are used to estimate the value of functions (at least theoretically - now days we can usually.
Sensitivity derivatives Can obtain sensitivity derivatives of structural response at several levels Finite difference sensitivity (section 7.1) Analytical.
9.3 Taylor’s Theorem: Error Analysis for Series
This is an example of an infinite series. 1 1 Start with a square one unit by one unit: This series converges (approaches a limiting value.) Many series.
9.3 Taylor’s Theorem: Error Analysis for Series Tacoma Narrows Bridge: November 7, 1940 Greg Kelly, Hanford High School, Richland, Washington.
Remainder Theorem. The n-th Talor polynomial The polynomial is called the n-th Taylor polynomial for f about c.
Numerical Analysis CC413 Propagation of Errors.
Introduction to Integration Methods. Types of Methods causal method employs values at prior computation instants. non-causal method if in addition to.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Truncation Errors and the Taylor Series Chapter 4.
Ordinary Differential Equations
9.3 Taylor’s Theorem: Error Analysis yes no.
Taylor series are used to estimate the value of functions (at least theoretically - now days we can usually use the calculator or computer to calculate.
NUMERICAL DIFFERENTIATION or DIFFERENCE APPROXIMATION Used to evaluate derivatives of a function using the functional values at grid points. They are.
Numerical Analysis CC413 Propagation of Errors. 2 In numerical methods, the calculations are not made with exact numbers. How do these inaccuracies propagate.
Lecture 6: Convergence Tests and Taylor Series. Part I: Convergence Tests.
9-5 Alternating Series Rizzi – Calc BC. Objectives Use the Alternating Series Test to determine whether an infinite series converges. Use the Alternating.
NUMERICAL ANALYSIS I. Introduction Numerical analysis is concerned with the process by which mathematical problems are solved by the operations.
9.7 day 2 Taylor’s Theorem: Error Analysis for Series Tacoma Narrows Bridge: November 7, 1940 Greg Kelly, Hanford High School, Richland, Washington.
NUMERICAL DIFFERENTIATION Forward Difference Formula
Lecture 25 – Power Series Def: The power series centered at x = a:
Infinite Sequences and Series
The Taylor Polynomial Remainder (aka: the Lagrange Error Bound)
Roundoff and Truncation Errors
Section 11.6 – Taylor’s Formula with Remainder
Taylor’s Theorem: Error Analysis for Series
In the case where all the terms are positive,
ESTIMATING THE SUM OF A SERIES
9.3 Taylor’s Theorem: Error Analysis for Series
Copyright © 2006 Pearson Education, Inc
Objectives Approximate a definite integral using the Trapezoidal Rule.
Chapter 1 / Error in Numerical Method
Roundoff and Truncation Errors
12.12 Lagrange Remainder Mathboat.com.
Sequence and Series Dr. Geetha Sivaraman Department of Mathematics
Lagrange Remainder.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Presentation transcript:

Second Term 05/061 Part 3 Truncation Errors (Supplement)

Second Term 05/062 Error Propagation How errors in numbers can propagate through mathematical functions? That is, what's the effect of the discrepancy between x and x A on the value of the function.

Second Term 05/063 Error Propagation

Second Term 05/064 Error Propagation – Example Given x A = 2.5 with error of 0.01, estimate the resulting error in the function f ( x ) = x 3. Estimatation (May be incorrect but provides good approx.) True Bound (Not always possible to calculate this way)

Second Term 05/065 Example (continue) Estimating maximum bound

Second Term 05/066 Condition numbers Measure the sensitivity to small changes in input values of a function (i.e. relative change in f ( x ) vs. relative change in x ) Defined as the ratio of these relative errors Small condition number implies function is stable ariound x. Large condition number implies function is unstable around x

Second Term 05/067 Textbook Ex 4.12(c) Condition number is small, so we can calculate f ( x ) accurately provided we formulate the formula properly. How should we evaluate f ( x ) to avoid subtracting two close numbers?

Second Term 05/068 Total error = truncation error + round-off error Small step size implies small truncation errors but small step size is more likely to introduce round-off errors due to adding big numbers to small numbers and subtractive cancellations. So in practice, avoid picking step size that's too big or too small.

Second Term 05/069 Summary Deriving Taylor Series for a function Using the Remainder to estimate truncation errors Understanding how step size affect the truncation errors –e.g.: step size vs. the convergent rate of truncation error Estimating truncation errors for other series expansion –Geometry Series, Integral, and Alternating Convergent Series