MECN 3500 Inter - Bayamon Lecture 10101010 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

ES 240: Scientific and Engineering Computation. Chapter 17: Numerical IntegrationIntegration  Definition –Total area within a region –In mathematical.
Computational Modeling for Engineering MECN 6040
NUMERICAL DIFFERENTIATION AND INTEGRATION
Chapter 7 Numerical Differentiation and Integration
Today’s class Romberg integration Gauss quadrature Numerical Methods
Mechanisms Design MECN 4110
Mechanical Measurement and Instrumentation MECN 4600
Numerical Integration Lecture (II)1
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 30 Numerical Integration & Differentiation.
Newton-Cotes Integration Formula
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 29 Numerical Integration.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III.
Numerical Integration Lecture (I)1
Chapter 6 Numerical Interpolation
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Standing.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 27 Numerical Integration & Differentiation.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Numerical Differentiation and Integration ~ Newton-Cotes.
NUMERICAL DIFFERENTIATION The derivative of f (x) at x 0 is: An approximation to this is: for small values of h. Forward Difference Formula.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Standing.
Numerical Integration Formulas
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Part 6 Calculus.
Simpson’s 1/3 rd Rule of Integration. What is Integration? Integration The process of measuring the area under a.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 21 Newton-Cotes Integration Formula.
1 NUMERICAL INTEGRATION Motivation: Most such integrals cannot be evaluated explicitly. Many others it is often faster to integrate them numerically rather.
Today’s class Numerical Integration Newton-Cotes Numerical Methods
Lecture 19 - Numerical Integration CVEN 302 July 22, 2002.
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.
1 Numerical Analysis Lecture 12 Numerical Integration Dr. Nader Okasha.
Numerical Differential & Integration. Introduction If a function f(x) is defined as an expression, its derivative or integral is determined using analytical.
CMPS1371 Introduction to Computing for Engineers NUMERICAL METHODS.
1 Simpson’s 1/3 rd Rule of Integration. 2 What is Integration? Integration The process of measuring the area under a curve. Where: f(x) is the integrand.
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
CSE 330 : Numerical Methods
1 Trapezoidal Rule of Integration. What is Integration Integration: The process of measuring the area under a function.
MA2213 Lecture 4 Numerical Integration. Introduction Definition is the limit of Riemann sums I(f)
Mechanical Measurement and Instrumentation MECN 4600
MECN 3500 Inter - Bayamon Lecture 7 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
MECN 4600 Inter - Bayamon Lecture Mechanical Measurement and Instrumentation MECN 4600 Professor: Dr. Omar E. Meza Castillo
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Mechanical Measurement and Instrumentation MECN 4600
MECN 3500 Lecture 4 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
MECN 3500 Inter - Bayamon Lecture 3 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Lecture 2 Numerical Methods for Engineering MECN 3500 Department of Mechanical Engineering Inter American University of Puerto Rico Bayamon Campus Dr.
MECN 4600 Inter - Bayamon Lecture 9 Mechanical Measurement and Instrumentation MECN 4600 Professor: Dr. Omar E. Meza Castillo
Numerical Methods for Engineering MECN 3500
Lecture 5 Vector Mechanics for Engineers: Dynamics MECN 3010 Department of Mechanical Engineering Inter American University of Puerto Rico Bayamon Campus.
MECN 3500 Inter - Bayamon Lecture Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
CSE 330 : Numerical Methods Lecture 15: Numerical Integration - Trapezoidal Rule Dr. S. M. Lutful Kabir Visiting Professor, BRAC University & Professor.
Lecture 4 Engineering Economics ENGR 3300 Department of Mechanical Engineering Inter American University of Puerto Rico Bayamon Campus Dr. Omar E. Meza.
MECN 3500 Inter - Bayamon Lecture 8 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapter 21.
Numerical Integration
MECN 3500 Inter - Bayamon Lecture 6 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Lecture 8 Vector Mechanics for Engineers: Dynamics MECN 3010 Department of Mechanical Engineering Inter American University of Puerto Rico Bayamon Campus.
Mechanisms Design MECN 4110
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 5 Integration and Differentiation.
Mechanics of Materials Inter - Bayamon Review 1 FE Review Mechanics of Materials Professor: Dr. Omar E. Meza Castillo
Quadrature – Concepts (numerical integration) Don Allen.
NUMERICAL DIFFERENTIATION Forward Difference Formula
Part 6 - Chapter 21.
NUMERICAL DIFFERENTIATION AND INTEGRATION
MATH 2140 Numerical Methods
Simpson’s 1/3rd Rule of Integration
SKTN 2393 Numerical Methods for Nuclear Engineers
Numerical Integration
Presentation transcript:

MECN 3500 Inter - Bayamon Lecture Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo Department of Mechanical Engineering Inter American University of Puerto Rico Bayamon Campus

Lecture 10 MECN 3500 Inter - Bayamon 2 Tentative Lectures Schedule TopicLecture Mathematical Modeling and Engineering Problem Solving 1 Introduction to Matlab 2 Numerical Error 3 Root Finding System of Linear Equations 7-8 Least Square Curve Fitting 9 Numerical Integration 10 Ordinary Differential Equations

Lecture 10 MECN 3500 Inter - Bayamon Newton-Cotes Integration Formulas Numerical Integration 3

Lecture 10 MECN 3500 Inter - Bayamon  To solve numerical problems and appreciate their applications for engineering problem solving. 4 Course Objectives

Lecture 10 MECN 3500 Inter - Bayamon Introduction

Lecture 10 MECN 3500 Inter - Bayamon They are based on the strategy of replacing a complicated function or tabulated data with an approximating function that is easier to integrate: where f n (x) is a polynomial of degree n. f1(x)f1(x) f2(x)f2(x)

Lecture 10 MECN 3500 Inter - Bayamon Piecewise functions can be used also to approximate the integral. 3 piecewise linear functions to approximate f(x) between a and b.

Lecture 10 MECN 3500 Inter - Bayamon Two forms of the Newton-Cotes formulas: Closed Forms: the data points at the beginning and end of the limits of integration are known. Open Forms: integration limits extend beyond the range of the data.

Lecture 10 MECN 3500 Inter - Bayamon The Trapezoidal Rule The integral is approximated by a line:

Lecture 10 MECN 3500 Inter - Bayamon Statement: Use the trapezoidal rule to estimate Example 21.1 Solution:

Lecture 10 MECN 3500 Inter - Bayamon One way to improve the accuracy of the trapezoidal rule is to divide the integration interval from a to b into a number of segments and apply the method to each segment. The areas of individual segments can then be added to yield the integral for the entire interval. The Multiple-Application Trapezoidal Rule

Lecture 10 MECN 3500 Inter - Bayamon

Lecture 10 MECN 3500 Inter - Bayamon

Lecture 10 MECN 3500 Inter - Bayamon The total integral is Substituting the trapezoidal rule for each integral: Grouping terms:

Lecture 10 MECN 3500 Inter - Bayamon 15

Lecture 10 MECN 3500 Inter - Bayamon Statement: Use the multiple-application trapezoidal rule for n = 2 to estimate Example 21.1 Solution:

Lecture 10 MECN 3500 Inter - Bayamon

Lecture 10 MECN 3500 Inter - Bayamon Computer Algorithms for the Trapezoidal Rule

Lecture 10 MECN 3500 Inter - Bayamon More accurate estimate of an integral is obtained if a high-order polynomial is used to connect the points. The formulas that result from taking the integrals under such polynomials are called Simpson’s rules. Simpson’s Rules

Lecture 10 MECN 3500 Inter - Bayamon This rule results when a second-order interpolating polynomial is used. After integration, Simpson’s 1/3 Rule

Lecture 10 MECN 3500 Inter - Bayamon 21

Lecture 10 MECN 3500 Inter - Bayamon Statement: Single Application of Simpson’s 1/3 Rule From a=0 to b=0.8. recall that the exact integral is Which is approximately 5 times more accurate than for a single application of the trapezoidal rule (Example 21.1) Example 21.4 Solution:

Lecture 10 MECN 3500 Inter - Bayamon This rule results when a third-order interpolating polynomial is used. Simpson’s 8/3 Rule

Lecture 10 MECN 3500 Inter - Bayamon 24

Lecture 10 MECN 3500 Inter - Bayamon Statement: Single Application of Simpson’s 3/8 rule to integrate From a=0 to b=0.8. Simpson’s rule 3/8 requires four equally spaced points: Example 21.6 Solution:

Lecture 10 MECN 3500 Inter - Bayamon Statement: Estimate the cross section area of the stream. Case Studies

Lecture 10 MECN 3500 Inter - Bayamon Consider this example

Lecture 10 MECN 3500 Inter - Bayamon Trapezoidal rule (h = 4): Trapezoidal rule (h = 2):

Lecture 10 MECN 3500 Inter - Bayamon Integration with Matlab Use quad for functions. Software

Lecture 10 MECN 3500 Inter - Bayamon Homework8  Omar E. Meza Castillo Ph.D. 30