Numerical Integration Lesson 6.5. 2 News from Space A new species has been trapped … the rare zoid Math students have long known of efforts of "trapezoid"

Slides:



Advertisements
Similar presentations
Adguary Calwile Laura Rogers Autrey~ 2nd Per. 3/14/11
Advertisements

ES 240: Scientific and Engineering Computation. Chapter 17: Numerical IntegrationIntegration  Definition –Total area within a region –In mathematical.
A Riemann sum is a method for approximating the total area underneath a curve on a graph. This method is also known as taking an integral. There are 3.
Section 5.7 Numerical Integration. Approximations for integrals: Riemann Sums, Trapezoidal Rule, Simpson's Rule Riemann Sum: Trapezoidal Rule: Simpson’s.
Newton-Cotes Integration Formula
Homework Homework Assignment #47 Read Section 7.1 Page 398, Exercises: 23 – 51(Odd) Rogawski Calculus Copyright © 2008 W. H. Freeman and Company.
The Area Between Two Curves
Concavity and Rates of Change Lesson 2.5. Changing Rate of Change Note that the rate of change of the curve of the top of the gate is changing Consider.
The Area Between Two Curves Lesson When f(x) < 0 Consider taking the definite integral for the function shown below. The integral gives a negative.
Riemann Sums and the Definite Integral Lesson 5.3.
Parametric Equations Lesson 6.7. Movement of an Object  Consider the position of an object as a function of time The x coordinate is a function of time.
Integration. Problem: An experiment has measured the number of particles entering a counter per unit time dN(t)/dt, as a function of time. The problem.
Numerical Integration In general, a numerical integration is the approximation of a definite integration by a “weighted” sum of function values at discretized.
CHAPTER 4 SECTION 4.6 NUMERICAL INTEGRATION
Area of a single trapezoid = h
Numerical Integration Approximating Definite Integral.
1 Chapter 7 NUMERICAL INTEGRATION. 2 PRELIMINARIES We use numerical integration when the function f(x) may not be integrable in closed form or even in.
D MANCHE Finding the area under curves:  There are many mathematical applications which require finding the area under a curve.  The area “under”
Chapter 7 – Techniques of Integration
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
1 Numerical Integration Section Why Numerical Integration? Let’s say we want to evaluate the following definite integral:
Trapezoidal Approximation Objective: To find area using trapezoids.
Homework questions thus far??? Section 4.10? 5.1? 5.2?
Volumes of Revolution Disks and Washers
Piecewise Defined Functions Lesson 2.3. How to Write a Weird Function What if we had to write a single function to describe this graph … We must learn.
5.1.  When we use the midpoint rule or trapezoid rule we can actually calculate the maximum error in the calculation to get an idea how much we are off.
Derivatives of Products and Quotients Lesson 4.2.
Riemann Sums, Trapezoidal Rule, and Simpson’s Rule Haley Scruggs 1 st Period 3/7/11.
The Fundamental Theorems of Calculus Lesson 5.4. First Fundamental Theorem of Calculus Given f is  continuous on interval [a, b]  F is any function.
Definite Integrals Riemann Sums and Trapezoidal Rule.
Antiderivatives Lesson 7.1A. Think About It Suppose this is the graph of the derivative of a function What do we know about the original function? Critical.
Finding Limits Graphically and Numerically Lesson 2.2.
Clicker Question 1 What is an antiderivative of f(x) = (5x – 3)  ? – A. (5/(  + 1))(5x – 3)  +1 – B. (1/(  + 1))(5x – 3)  +1 – C. 5  (5x – 3)  -
Integral calculation. Indefinite integral. Differentiation Rules If f(x) = x 6 +4x 2 – 18x + 90 f’(x) = 6x 5 + 8x – 18 *multiply by the power, than subtract.
Exam Questions relay. Simpson’s Rule Objectives: To recognise and apply Simpson’s rule to approximate areas bounded by curves.
The Natural Log Function: Integration Lesson 5.7.
Antiderivatives and Indefinite Integration
Volumes Lesson 6.2.
Finding Areas Numerically. y4y4 h y5y5 The basic idea is to divide the x-axis into equally spaced divisions as shown and to complete the top of these.
Estimating area under a curve
Riemann Sums Lesson 14.2 Riemann Sums are used to approximate the area between a curve and the x-axis over an interval. Riemann sums divide the areas.
Warm up 10/16 (glue in). Be seated before the bell rings DESK homework Warm-up (in your notes) Agenda : go over hw Finish Notes lesson 4.5 Start 4.6.
Parametric Equations Lesson Movement of an Object Consider the position of an object as a function of time  The x coordinate is a function of.
Clicker Question 1 What is ? (Hint: u-sub) – A. ln(x – 2) + C – B. x – x 2 + C – C. x + ln(x – 2) + C – D. x + 2 ln(x – 2) + C – E. 1 / (x – 2) 2 + C.
NUMERICAL DIFFERENTIATION Forward Difference Formula
Clicker Question 1 What is ? A. x tan(x2) + C
Midpoint and Trapezoidal Rules
MTH1170 Numeric Integration
Area and the Definite Integral
5.5 Trapezoidal Rule.
Review Calculus.
Trapezoid rule for integration
5. 7a Numerical Integration. Trapezoidal sums
Area of a single trapezoid = h
Integration Review Problems
Numerical Integration
The Area Question and the Integral
Volumes of Revolution Disks and Washers
Representation of Functions by Power Series
The Area Between Two Curves
Finding Limits Graphically and Numerically
Numerical Integration
5. 7a Numerical Integration. Trapezoidal sums
Summation Formulas Constant Series.
Area of a single trapezoid = h
Section 5.2 Definite Integrals.
Parametric Equations Lesson 10.1.
SKTN 2393 Numerical Methods for Nuclear Engineers
Area of a single trapezoid = h
The Natural Log Function: Integration
Presentation transcript:

Numerical Integration Lesson 6.5

2 News from Space A new species has been trapped … the rare zoid Math students have long known of efforts of "trapezoid" expeditions Trapezoids were so effective, zoids were thought to be extinct!

3 Trapezoidal Rule Instead of calculating approximation rectangles we will use trapezoids  More accuracy Area of a trapezoid a b b1b1 b2b2 h Which dimension is the h? Which is the b 1 and the b 2 Which dimension is the h? Which is the b 1 and the b 2

4 Trapezoidal Rule Trapezoidal rule approximates the integral Calculator function for f(x) (  (2*f(a+k*(b-a)/n),k,1,n-1)+f(a)+f(b))*(b-a)/(n*2)  trap(a,b,n) dx f(x i ) f(x i-1 )

5 Trapezoidal Rule Entering the trapezoidal rule into the calculator f(x) must be defined for this to work

6 Trapezoidal Rule Try using the trapezoidal rule Check with integration

7 Simpson's Rule As before, we divide the interval into n parts  n must be even Instead of straight lines we draw parabolas through each group of three consecutive points  This approximates the original curve for finding definite integral – formula shown below Snidly Fizbane Simpson a b

8 Simpson's Rule Our calculator can do this for us also The function is more than a one liner  We will use the program editor  Choose APPS, 7:Program Editor 3:New Specify Function, name it simp

9 Simpson's Rule Enter the parameters a, b, and n between the parentheses Enter commands shown between Func and endFunc Local variables discarded when function finishes Initialize dx Initialize total with the two end values One for loop for the 4* values, one for the 2* values Return the value

10 Simpson's Rule Specify a function for f(x) When you call simp(a,b,n),  Make sure n is an even number Note the accuracy of the approximation

11 Using Data Given table of data, use trapezoidal rule to determine area under the curve  dx = ? x y

12 Using Data Given table of data, use Simpson's rule to determine area under the curve x y

13 Assignment Lesson 6.5 Page 250 Exercises 1 – 21 odd