Limits and Continuity A BRIEF PREVIEW OF CALCULUS: TANGENT LINES AND THE LENGTH OF A CURVE 1.2 THE CONCEPT OF LIMIT 1.3 COMPUTATION OF LIMITS 1.4.

Slides:



Advertisements
Similar presentations
2009 Spring Errors & Source of Errors SpringBIL108E Errors in Computing Several causes for malfunction in computer systems. –Hardware fails –Critical.
Advertisements

Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 8 By Herbert I. Gross and Richard A. Medeiros next.
APPLICATIONS OF DIFFERENTIATION 4. In Sections 2.2 and 2.4, we investigated infinite limits and vertical asymptotes.  There, we let x approach a number.
Floating Point Numbers.  Floating point numbers are real numbers.  In Java, this just means any numbers that aren’t integers (whole numbers)  For example…
To Solve Equations which Involve Exponents.
Copyright © Cengage Learning. All rights reserved. 0 Precalculus Review.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 31.
CHAPTER OUTLINE 3 Decimals Slide 1 Copyright (c) The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3.1Decimal Notation and.
CHAPTER 2 LIMITS AND DERIVATIVES. 2.2 The Limit of a Function LIMITS AND DERIVATIVES In this section, we will learn: About limits in general and about.
Lecture 2 Number Representation and accuracy
Slide 7- 1 Copyright © 2012 Pearson Education, Inc.
ME 142 Engineering Computation I Computer Precision & Round-Off Error.
LIMITS AND DERIVATIVES 2. In Sections 2.2 and 2.4, we investigated infinite limits and vertical asymptotes.  There, we let x approach a number.  The.
APPLICATIONS OF DIFFERENTIATION 4. A polynomial behaves near infinity as its term of highest degree. The polynomial behaves like the polynomial Near infinity.
In Sections 2.2 and 2.4, we investigated infinite limits and vertical asymptotes.  There, we let x approach a number.  The result was that the values.
Round-off Errors and Computer Arithmetic. The arithmetic performed by a calculator or computer is different from the arithmetic in algebra and calculus.
Limits and Derivatives
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.
–1 –5–4–3–2– Describe the continuity of the graph. Warm UP:
Measurement & Calculations Overview of the Scientific Method OBSERVE FORMULATE HYPOTHESIS TEST THEORIZE PUBLISH RESULTS.
Tangent Lines. EX 1.2 Estimating the Slope of a Curve Estimate the slope of y = sin x at x = 0.
Module 2.2 Errors 03/08/2011. Sources of errors Data errors Modeling Implementation errors Absolute and relative errors Round off errors Overflow and.
Cosc 2150: Computer Organization Chapter 9, Part 3 Floating point numbers.
Floating Point Numbers
Introduction to Numerical Analysis I
Fundamentals of Computer Science
Machine arithmetic and associated errors Introduction to error analysis Class II.
ME 142 Engineering Computation I
Applied Numerical Methods
Accuracy and Precision
Machine arithmetic and associated errors Introduction to error analysis (cont.) Class III.
Scientific Notation.
7 Chapter Rational Numbers as Decimals and Percent
Taylor series in numerical computations (review)
Copyright © The McGraw-Hill Companies, Inc
Chapter 2 ERROR ANALYSIS
2 Differentiation 2.1 TANGENT LINES AND VELOCITY 2.2 THE DERIVATIVE
Errors in Numerical Methods
Roundoff and Truncation Errors
Chapter R A Review of Basic Concepts and Skills
Scientific Notation.
CSE Differentiation Roger Crawfis.
Scientific Notation.
Chapter 3 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2.2 The Limit of a Function In this section, we will learn:
Approximations and Round-Off Errors Chapter 3
Copyright © Cengage Learning. All rights reserved.
CSE Differentiation Roger Crawfis.
Chapter R A Review of Basic Concepts and Skills
2 Differentiation 2.1 TANGENT LINES AND VELOCITY 2.2 THE DERIVATIVE
Limits and Continuity A BRIEF PREVIEW OF CALCULUS: TANGENT LINES AND THE LENGTH OF A CURVE 1.2 THE CONCEPT OF LIMIT 1.3 COMPUTATION OF LIMITS 1.4.
Assignment Pages: 10 – 12 (Day 1) Questions over Assignment? # 1 – 4
Limits and Continuity A BRIEF PREVIEW OF CALCULUS: TANGENT LINES AND THE LENGTH OF A CURVE 1.2 THE CONCEPT OF LIMIT 1.3 COMPUTATION OF LIMITS 1.4.
Limits and Continuity A BRIEF PREVIEW OF CALCULUS: TANGENT LINES AND THE LENGTH OF A CURVE 1.2 THE CONCEPT OF LIMIT 1.3 COMPUTATION OF LIMITS 1.4.
Limits and Continuity A BRIEF PREVIEW OF CALCULUS: TANGENT LINES AND THE LENGTH OF A CURVE 1.2 THE CONCEPT OF LIMIT 1.3 COMPUTATION OF LIMITS 1.4.
Objectives Determine (finite) limits at infinity.
7 Chapter Decimals: Rational Numbers and Percent
Learning Objectives for Section 10.1 Introduction to Limits
Limits and Continuity A BRIEF PREVIEW OF CALCULUS: TANGENT LINES AND THE LENGTH OF A CURVE 1.2 THE CONCEPT OF LIMIT 1.3 COMPUTATION OF LIMITS 1.4.
Numerical Analysis Lecture 2.
Representation of real numbers
Copyright © The McGraw-Hill Companies, Inc
CHAPTER 6 SKELETAL SYSTEM
Preliminaries 0.1 THE REAL NUMBERS AND THE CARTESIAN PLANE 0.2
Limits and Continuity A BRIEF PREVIEW OF CALCULUS: TANGENT LINES AND THE LENGTH OF A CURVE 1.2 THE CONCEPT OF LIMIT 1.3 COMPUTATION OF LIMITS 1.4.
Chapter 1 / Error in Numerical Method
Roundoff and Truncation Errors
Chapter 2 Limits and the Derivative
Chapter 3 Introduction to Physical Design of Transportation Facilities.
Presentation transcript:

Limits and Continuity 1 1.1 A BRIEF PREVIEW OF CALCULUS: TANGENT LINES AND THE LENGTH OF A CURVE 1.2 THE CONCEPT OF LIMIT 1.3 COMPUTATION OF LIMITS 1.4 CONTINUITY AND ITS CONSEQUENCES 1.5 LIMITS INVOLVING INFINITY; ASYMPTOTES 1.6 FORMAL DEFINITION OF THE LIMIT 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 2

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS Rationale When we use a computer (or calculator), we must always keep in mind that these devices perform most computations only approximately. Most of the time, this will cause us no difficulty whatsoever. Occasionally, however, the results of round-off errors in a string of calculations are disastrous. In this section, we briefly investigate these errors and learn how to recognize and avoid some of them. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 3

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS 7.1 A Limit with Unusual Graphical and Numerical Behavior © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 4

? LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 7.1 A Limit with Unusual Graphical and Numerical Behavior ? © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 5

? LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 7.1 A Limit with Unusual Graphical and Numerical Behavior The deeper we look into this limit, the more erratically the function appears to behave. We use the word appears because all of the oscillatory behavior we are seeing is an illusion, created by the finite precision of the computer used to perform the calculations and draw the graph. ? © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 6

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS Computer Representation of Real Numbers Think of computers and calculators as storing real numbers internally in scientific notation. For example, the number 1,234,567 would be stored as 1.234567 × 106. The number preceding the power of 10 is called the mantissa and the power is called the exponent. Thus, the mantissa here is 1.234567 and the exponent is 6. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 7

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS Computer Representation of Real Numbers All computing devices have finite memory and consequently have limitations on the size mantissa and exponent that they can store. (This is called finite precision.) Many calculators carry a 14-digit mantissa and a 3-digit exponent. On a 14-digit computer, this would suggest that the computer retains only the first 14 digits in the decimal expansion of any given number. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 8

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS 7.2 Computer Representation of a Rational Number Determine how 1/3 is stored internally on a 10-digit computer and how 2/3 is stored internally on a 14-digit computer. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 9

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS 7.2 Computer Representation of a Rational Number © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 10

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS 7.3 A Computer Subtraction of Two “Close” Numbers Compare the exact value of with the result obtained from a calculator or computer with a 14-digit mantissa. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 11

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS 7.3 A Computer Subtraction of Two “Close” Numbers If this calculation is carried out on a computer or calculator with a 14-digit (or smaller) mantissa, both numbers on the left-hand side are stored by the computer as 1 × 1018 and hence, the difference is calculated as 0. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 12

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS 7.4 Another Subtraction of Two “Close” Numbers Compare the exact value of with the result obtained from a calculator or computer with a 14-digit mantissa. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 13

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS 7.4 Another Subtraction of Two “Close” Numbers © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 14

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS 7.4 Another Subtraction of Two “Close” Numbers If this calculation is carried out on a calculator with a 14-digit mantissa, the first number is represented as 1.0000000000001 × 1020, while the second number is represented by 1.0 × 1020, due to the finite precision and rounding. The difference between the two values is then computed as 0.0000000000001 × 1020 or 10,000,000, which is, again, a very serious error. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 15

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS Loss of Significance Errors Examples 7.3 and 7.4 illustrate gross errors caused by the subtraction of two numbers whose significant digits are very close to one another. This type of error is called a loss-of-significant-digits error or simply a loss-of-significance error. These are subtle, often disastrous computational errors. Returning now to example 7.1, we will see that it was this type of error that caused the unusual behavior noted. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 16

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS 7.5 A Loss-of-Significance Error Using follow the calculation of f (5 × 104) one step at a time, as a 14-digit computer would do it. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 17

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS 7.5 A Loss-of-Significance Error © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 18

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS Loss of Significance Errors In the case of the function from example 7.5, we can avoid the subtraction and hence, the loss-of-significance error by rewriting the function as follows: where we have eliminated the subtraction. © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 19

LIMITS AND LOSS OF SIGNIFICANCE ERRORS 1.7 LIMITS AND LOSS OF SIGNIFICANCE ERRORS Loss of Significance Errors From the rewritten expression, no “unusual” behavior © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide 20