Lab 11 Approximate Integration

Similar documents
Unit Six AP Calculus Unit 6 Review Definite Integrals. Name Period Date NON-CALCULATOR SECTION

APPROXIMATE INTEGRATION

Definite Integrals. The area under a curve can be approximated by adding up the areas of rectangles = 1 1 +

Z b. f(x)dx. Yet in the above two cases we know what f(x) is. Sometimes, engineers want to calculate an area by computing I, but...

Section 6.1 Definite Integral

n f(x i ) x. i=1 In section 4.2, we defined the definite integral of f from x = a to x = b as n f(x i ) x; f(x) dx = lim i=1

AP Calculus AB Unit 5 (Ch. 6): The Definite Integral: Day 12 Chapter 6 Review

The Trapezoidal Rule

5: The Definite Integral

Suppose we want to find the area under the parabola and above the x axis, between the lines x = 2 and x = -2.

Numerical Analysis: Trapezoidal and Simpson s Rule

Lecture 14: Quadrature

An Overview of Integration

MATH , Calculus 2, Fall 2018

10. AREAS BETWEEN CURVES

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

different methods (left endpoint, right endpoint, midpoint, trapezoid, Simpson s).

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2019

Improper Integrals. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Definite integral. Mathematics FRDIS MENDELU

A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007

Definite integral. Mathematics FRDIS MENDELU. Simona Fišnarová (Mendel University) Definite integral MENDELU 1 / 30

5.1 How do we Measure Distance Traveled given Velocity? Student Notes

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

NUMERICAL INTEGRATION

Section 5.4 Fundamental Theorem of Calculus 2 Lectures. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus 1

Math& 152 Section Integration by Parts

Section 6.1 INTRO to LAPLACE TRANSFORMS

The area under the graph of f and above the x-axis between a and b is denoted by. f(x) dx. π O

We know that if f is a continuous nonnegative function on the interval [a, b], then b

Section Areas and Distances. Example 1: Suppose a car travels at a constant 50 miles per hour for 2 hours. What is the total distance traveled?

The Riemann Integral

Section 7.1 Integration by Substitution

The Fundamental Theorem of Calculus

Interpreting Integrals and the Fundamental Theorem

4.6 Numerical Integration

Math 1B, lecture 4: Error bounds for numerical methods

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

4.4 Areas, Integrals and Antiderivatives

INTRODUCTION TO INTEGRATION

Integrals - Motivation

Midpoint Approximation

63. Representation of functions as power series Consider a power series. ( 1) n x 2n for all 1 < x < 1

AB Calculus Review Sheet

Distance And Velocity

Chapter 8.2: The Integral

6.5 Numerical Approximations of Definite Integrals

DOING PHYSICS WITH MATLAB MATHEMATICAL ROUTINES

( ) as a fraction. Determine location of the highest

( ) where f ( x ) is a. AB Calculus Exam Review Sheet. A. Precalculus Type problems. Find the zeros of f ( x).

The Fundamental Theorem of Calculus. The Total Change Theorem and the Area Under a Curve.

ROB EBY Blinn College Mathematics Department

Chapter 7 Notes, Stewart 8e. 7.1 Integration by Parts Trigonometric Integrals Evaluating sin m x cos n (x) dx...

Harmonic Mean Derivative - Based Closed Newton Cotes Quadrature

Chapter 6 Notes, Larson/Hostetler 3e

Section 6: Area, Volume, and Average Value

1 The fundamental theorems of calculus.

The final exam will take place on Friday May 11th from 8am 11am in Evans room 60.

Numerical Integration. 1 Introduction. 2 Midpoint Rule, Trapezoid Rule, Simpson Rule. AMSC/CMSC 460/466 T. von Petersdorff 1

Unit #10 De+inite Integration & The Fundamental Theorem Of Calculus

Lecture 6: Singular Integrals, Open Quadrature rules, and Gauss Quadrature

x = b a n x 2 e x dx. cdx = c(b a), where c is any constant. a b

The Fundamental Theorem of Calculus, Particle Motion, and Average Value

Goals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite

Space Curves. Recall the parametric equations of a curve in xy-plane and compare them with parametric equations of a curve in space.

Anti-derivatives/Indefinite Integrals of Basic Functions

MA123, Chapter 10: Formulas for integrals: integrals, antiderivatives, and the Fundamental Theorem of Calculus (pp.

1 The Riemann Integral

The practical version

Math 131. Numerical Integration Larson Section 4.6

Improper Integrals. Type I Improper Integrals How do we evaluate an integral such as

Sections 5.2: The Definite Integral

Section 6.1 INTRO to LAPLACE TRANSFORMS

Bob Brown Math 251 Calculus 1 Chapter 5, Section 4 1 CCBC Dundalk

P 3 (x) = f(0) + f (0)x + f (0) 2. x 2 + f (0) . In the problem set, you are asked to show, in general, the n th order term is a n = f (n) (0)

Lecture 12: Numerical Quadrature

7.2 The Definite Integral

Chapter 2. Numerical Integration also called quadrature. 2.2 Trapezoidal Rule. 2.1 A basic principle Extending the Trapezoidal Rule DRAWINGS

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

Improper Integrals, and Differential Equations

Section 4.8. D v(t j 1 ) t. (4.8.1) j=1

Undergraduate Research

Summer Work Packet for MPH Math Classes

Chapter 9 Definite Integrals

UNIT 1 FUNCTIONS AND THEIR INVERSES Lesson 1.4: Logarithmic Functions as Inverses Instruction

Chapter 1: Logarithmic functions and indices

1 Part II: Numerical Integration

Review of Calculus, cont d

Riemann Sums and Riemann Integrals

1 The fundamental theorems of calculus.

Lecture 17. Integration: Gauss Quadrature. David Semeraro. University of Illinois at Urbana-Champaign. March 20, 2014

2008 Mathematical Methods (CAS) GA 3: Examination 2

Riemann is the Mann! (But Lebesgue may besgue to differ.)

Numerical Integration

38 Riemann sums and existence of the definite integral.

MA 124 January 18, Derivatives are. Integrals are.

The Regulated and Riemann Integrals

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature

Riemann Sums and Riemann Integrals

Special Numbers, Factors and Multiples

Transcription:

Nme Student ID # Instructor L Period Dte Due L 11 Approximte Integrtion Ojectives 1. To ecome fmilir with the right endpoint rule, the trpezoidl rule, nd Simpson's rule. 2. To compre nd contrst the properties of these three methods of pproximte integrtion. Explortion 1 Right Endpoint Rule The vlue of the definite integrl endpoint rule f (x)dx cn e pproximted using the right where x = ( )/n nd x i = + i x. n f (x)dx R n = f (x i ) x = x f (x i ) i =1 In this explortion, we will use the right endpoint rule to pproximte the vlue of the known definite integrl, following: n i = 1 sin( x)dx =1. But first, we must set up TEMATH y doing the Select New Constnt from the Work menu. Delete the defult constnt nme nd enter =. Select New Constnt from the Work menu. Delete the defult constnt nme nd enter = (press the Option p key for ). Select New Function from the Work menu. Delete the defult function nme nd enter f(x) = sin(x). Select New Function from the Work menu. Delete the defult function nme nd enter the right endpoint rule (press the Option w key for ) R(n) = ( )/n (i, 1, n, f(+i( )/n)). Note tht R(n) is function of n, where n is the numer of right endpoints (or the numer of rectngles). Copyright 1992-2 Roert E. Kowlczyk & Adm O. Husknecht, Deprtment of Mthemtics, UMss Drtmouth; Revised 8/11.

L 11: Approximte Integrtion 2 To gin some insight into the properties of the right endpoint rule, let's evlute R(n) for incresingly lrger vlues of n nd oserve how well the vlues of R(n) pproximte the definite integrl. We cn use TEMATH's Expression Clcultor to evlute R(n) y following these instructions: Select Accurcy from the Options menu. Enter 15 for the numer of significnt digits nd click the OK utton. The results of ll clcultions performed in the Expression Clcultor window will now e displyed with fifteen significnt digits. Select Clcultors Expression Clcultor from the Work menu. Enter R(1). Press the Enter key. Be sure tht the flshing cursor remins on the sme line s R(1). The right endpoint rule will e evluted using ten rectngles nd its vlue will e written on the next line in the Expression Clcultor window. An pproximtion is sid to hve d correct deciml digits of ccurcy if exct vlue pproximte vlue <.5 1 d. For our prticulr exmple, this ecomes 1 pproximte vlue <.5 1 d. 1. ) Wht is the vlue of the pproximtion R(1)?... ) Wht is the solute error sin(x)dx R(1) of the pproximtion?... To gin some insight into the reltionship etween the solute error nd the vlue of n, let's write the vlue of the solute error in the form c, where c is constnt nd n is the n numer of rectngles. For exmple, if the solute error is.76.8 nd n = 1, then we cn solve the eqution.8 = c /1 for c to get c =.8 nd write the solute error in the form sin(x)dx R(1).8. We will use this form of the solute error 1 in the following exmples. Next, let's chnge R(1) to R(1) nd press the Enter key. The right endpoint rule is now evluted using one hundred rectngles nd its vlue is written on the next line in the Expression Clcultor window. 2. ) Wht is the vlue of the pproximtion R(1)?... ) Wht is the solute error sin(x)dx R(1) of the pproximtion?... Kowlczyk & Husknecht 8/14/

L 11: Approximte Integrtion 3 d) Write the vlue of the solute error in the form c n... e) How mny more correct deciml digits re there in this pproximtion thn the previous one with n = 1?... Chnge R(1) to R(1) nd press the Enter key. The right endpoint rule is evluted using one thousnd rectngles nd its vlue is written on the next line. 3. ) Wht is the vlue of the pproximtion R(1)?... ) Wht is the solute error sin(x)dx R(1) of the pproximtion?... d) Write the vlue of the solute error in the form c n... e) How mny more correct deciml digits re there in this pproximtion thn the previous one with n = 1?... If there is constnt k such tht the solute error cn e written s exct vlue pproximte vlue < k n for ll n >, then we sy tht the pproximtions converge linerly to the exct vlue s n increses. 4. Bsed on the ove clcultions, guess vlue for k.... 5. If the pproximtions converge linerly to the exct vlue, how mny more correct deciml digits re there in the pproximtion when n is incresed y fctor of 1? Explortion 2 Trpezoidl Rule The vlue of the definite integrl rule f (x)dx cn e pproximted using the trpezoidl f (x)dx T n = x 2 n 1 f () + 2 f (x i ) + f () i=1 Kowlczyk & Husknecht 8/14/

L 11: Approximte Integrtion 4 where x = ( )/n nd x i = + i x. Let's use the trpezoidl rule to pproximte the definite integrl sin( x)dx =1 given in the previous explortion. If you've lredy done the previous explortion (entered,, nd f(x)), you only need to enter the trpezoidl rule y doing the following: Select New Function from the Work menu. Delete the defult function nme nd enter the trpezoidl rule (press the Option w key for ) T(n) = ( )/(2n) (f()+2 (i, 1, n 1, f(+i( )/n))+f()). Note tht T(n) is function of n, where n is the numer of trpezoids used in pproximting the integrl on the intervl [, ]. Use the Expression Clcultor (s descried in the previous explortion) to evlute T(1), T(1), nd T(1). 1. ) Wht is the vlue of the pproximtion T(1)?... ) Wht is the solute error sin(x)dx T(1) of the pproximtion?... d) Write the vlue of the solute error in the form c n... 2 2. ) Wht is the vlue of the pproximtion T(1)?... ) Wht is the solute error sin(x)dx T(1) of the pproximtion?... c) How mny correct deciml digits re there in the pproximtion?... d) Write the vlue of the solute error in the form c n... 2 e) How mny more correct deciml digits re there in this pproximtion thn the previous one with n = 1?... 3. ) Wht is the vlue of the pproximtion T(1)?... ) Wht is the solute error sin(x)dx T(1) of the pproximtion?... d) Write the vlue of the solute error in the form c n... 2 Kowlczyk & Husknecht 8/14/

L 11: Approximte Integrtion 5 e) How mny more correct deciml digits re there in this pproximtion thn the previous one with n = 1?... If there is constnt k such tht the solute error cn e written s exct vlue pproximte vlue < k n 2 for ll n >, then we sy tht the convergence of the pproximtions to the exct vlue is qudrtic. 4. Bsed on the ove clcultions, guess vlue for k.... 5. If the convergence is qudrtic, how mny more correct deciml digits re there in the pproximtion when n is incresed y fctor of 1?... Explortion 3 Simpson's Rule The vlue of the definite integrl f (x)dx cn e pproximted using Simpson's rule [ ] f (x)dx S n = x 3 f () + 4 f (x ) + 2 f (x ) + 4 f (x )+... +2 f (x ) + 4 f (x ) + f () 1 2 3 n 2 n 1 where x = ( )/n, x i = + i x, nd n is n even positive integer. Let's use Simpson's Rule to pproximte the sme definite integrl sin( x)dx =1 given in the previous explortions. If you've lredy done the previous explortion (entered,, nd f(x)), you only need to enter Simpson's rule y doing the following Select New Function from the Work menu. Delete the defult function nme nd enter Simpson's rule (press the Option w key for ) S(n) = ( )/(3n) (f()+2 (i,1,n 1,f(+2i( )/n))+ 4 (i,1,n,f(+(2i 1)( )/n))+f()). Use the expression clcultor (s descried in the previous explortion) to evlute S(1), S(1), nd S(1). 1. ) Wht is the vlue of the pproximtion S(1)?... ) Wht is the solute error sin(x)dx S(1) of the pproximtion?... Kowlczyk & Husknecht 8/14/

L 11: Approximte Integrtion 6 d) Write the vlue of the solute error in the form c n 4... 2. ) Wht is the vlue of the pproximtion S(1)?... ) Wht is the solute error sin(x)dx S(1) of the pproximtion?... d) Write the vlue of the solute error in the form c n... 4 e) How mny more correct deciml digits re there in this pproximtion thn the previous one with n = 1?... 3. ) Wht is the vlue of the pproximtion S(1)?... ) Wht is the solute error sin(x)dx S(1) of the pproximtion?... d) Write the vlue of the solute error in the form c n... 4 e) How mny more correct deciml digits re there in this pproximtion thn the previous one with n = 1?... If there is constnt k such tht the solute error cn e written s exct vlue pproximte vlue < k n p for ll n >, then we sy tht the convergence of the pproximtions to the exct vlue is of the order p. 4. Bsed on the ove clcultions, guess vlue for k.... 5. If the convergence is of the order 4, how mny more correct deciml digits re there in the pproximtion when n is incresed y fctor of 1?... 6. ) Which of the three pproximte integrtion methods is the most efficient, tht is, which method uses the fewest function evlutions to chieve prticulr ccurcy? Kowlczyk & Husknecht 8/14/

L 11: Approximte Integrtion 7. ) Explin your nswer to prt ).... c) Descrie the procedure you would use to pproximte the vlue of definite integrl (whose exct vlue you did not know) to ten correct deciml digits... Explortion 4 Error Bounds Are the ptterns of error reduction found in the previous explortions the sme for ny definite integrl? To investigte this question, let's pproximte nother known definite integrl 4 xdx = 5.3333K y using the methods descried in the first three explortions. First, let's set up TEMATH y doing the following: Set =, = 4, nd f(x) = sqrt(x) in the Work window. 1. Use the Expression Clcultor to find the following: ) R(1)... R(1)... R(1)... ) T(1)... T(1)... T(1)... c) S(1)... S(1)... S(1)... Kowlczyk & Husknecht 8/14/

L 11: Approximte Integrtion 8 2. As the vlue of n incresed from 1 to 1 to 1, ws the pttern of the reduction of the pproximtion error the sme s in the previous explortions?... Explin.... At this point, you should refer to the section in your clculus text ook on pproximte integrtion techniques nd red it crefully. It cn e shown tht if f (x) M R, f (x) M T, nd f (4) (x) M S for x (tht is, there exist set of constnts M R, M T, nd M S which ound the vlues of the derivtives of f (x) ), then the solute errors in the Right Endpoint Rule, the Trpezoidl Rule, nd Simpson's Rule re ounded s follows: E R M R ( )2 2n, E T M T ( )3, nd E 12n 2 S M S ( )5 18n 4 3. ) For f (x) = sin(x), find ound M R such tht f (x) M R for x / 2... ) Find the theoreticl vlue of k such tht E R M R ( )2 2n = k n... c) Are the results of the first explortion consistent with the theoreticl error ound clculted in prt )? Explin... Kowlczyk & Husknecht 8/14/

L 11: Approximte Integrtion 9 4. Use the theoreticl error ounds given ove to explin the ptterns of the pproximtion errors oserved in the first three explortions for the Right Endpoint Rule, the Trpezoidl Rule, nd Simpson's Rule.... 5. Use the theoreticl error ounds given ove to explin why the pttern of pproximtion error reduction chnged in explortion 4 with f (x) = x. Give specil ttention to the derivtives of f (x) on the intervl (, 4)... Kowlczyk & Husknecht 8/14/

L 11: Approximte Integrtion 1 Explortion 5 Evluting Integrls 1 The integrl sin(x 2 )dx hs no closed form solution. Use the Expression Clcultor to find n pproximtion to this integrl tht hs twelve correct deciml digits. 1 1. ) sin(x 2 )dx... ) Explin how you otined the nswer given in prt ) nd give resons why the pproximtion is correct to twelve deciml digits.... Kowlczyk & Husknecht 8/14/