CPE 332 Computer Engineering Mathematics II

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

CISE301_Topic61 SE301: Numerical Methods Topic 6 Numerical Differentiation Lecture 23 KFUPM Read Chapter 23, Sections 1-2.
EE3561_Unit 6(c)AL-DHAIFALLAH14351 EE 3561 : Computational Methods Unit 6 Numerical Differentiation Dr. Mujahed AlDhaifallah ( Term 342)
High Accuracy Differentiation Formulas
Chapter 7 Numerical Differentiation and Integration
Today’s class Romberg integration Gauss quadrature Numerical Methods
Lecture 18 - Numerical Differentiation
CE33500 – Computational Methods in Civil Engineering Differentiation Provided by : Shahab Afshari
KFUPM SE301: Numerical Methods Topic 5: Interpolation Lectures 20-22:
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 30 Numerical Integration & Differentiation.
Newton-Cotes Integration Formula
Chapter 7 Differentiation and Integration
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 5 Approximations, Errors and The Taylor Series.
Dr. Jie Zou PHY Chapter 7 Numerical Differentiation: 1 Lecture (I) 1 Ref: “Applied Numerical Methods with MATLAB for Engineers and Scientists”, Steven.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Numerical Differentiation and Integration ~ Newton-Cotes.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Part 6 Calculus.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 21 Newton-Cotes Integration Formula.
Chapter 4 Numerical Differentiation and Integration 1/16 Given x 0, approximate f ’(x 0 ). h xfhxf xf h )()( lim)('    x0x0 x1x1 h x1x1 x0x0.
MECN 3500 Inter - Bayamon Lecture Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
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.
Numerical Differential & Integration. Introduction If a function f(x) is defined as an expression, its derivative or integral is determined using analytical.
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
4.6 Numerical Integration. The Trapezoidal Rule One method to approximate a definite integral is to use n trapezoids.
Lecture 22 - Exam 2 Review CVEN 302 July 29, 2002.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Numerical Differentiation and Integration ~ Integration.
1.6 – Tangent Lines and Slopes Slope of Secant Line Slope of Tangent Line Equation of Tangent Line Equation of Normal Line Slope of Tangent =
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 22.
MECH345 Introduction to Finite Element Methods Chapter 1 Numerical Methods - Introduction.
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
Today’s class Numerical Differentiation Finite Difference Methods Numerical Methods Lecture 14 Prof. Jinbo Bi CSE, UConn 1.
MECN 3500 Inter - Bayamon Lecture Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Chap. 11 Numerical Differentiation and Integration
2.1 The Derivative and The Tangent Line Problem Slope of a Tangent Line.
Unit 2 Calculating Derivatives From first principles!
Chapter Three Differentiation. Copyright © Houghton Mifflin Company. All rights reserved. 3 | 2 Secant Line.
CPE 332 Computer Engineering Mathematics II Part III, Chapter 11 Numerical Differentiation and Integration Numerical Differentiation and Integration.
Calculus Section 3.1 Calculate the derivative of a function using the limit definition Recall: The slope of a line is given by the formula m = y 2 – y.
Calculating Derivatives From first principles!. 2.1 The Derivative as a Limit See the gsp demo demodemo Let P be any point on the graph of the function.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 21 Numerical Differentiation.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 20 Numerical Integration of Functions.
Numerical Integration
CHAPTER 3 NUMERICAL METHODS
Air Force Admin College, Coimbatore
High Accuracy Differentiation Formulas
Part 6 - Chapter 21.
Chapter 7 Numerical Differentiation and Integration
Tangent Lines (Sections 2.1 and 3.1 )
1. 2 What is Integration? Integration The process of measuring the area under a curve. Where: f(x) is the integrand a= lower limit of integration b=
Numerical Analysis Lecture 25.
Chapter 22.
NUMERICAL DIFFERENTIATION AND INTEGRATION
Numerical Analysis Lecture 27.
NUMERICAL INTEGRATION
Chapter 23.
Introduction to Integration
Chapter 7 Numerical Differentiation and Integration
Exam2: Differentiation
Numerical differentiation
Numerical Analysis Lecture 26.
Elements of Numerical Integration
MATH-321 In One Slide MATH-321 & MATLAB Command.
MATH 2140 Numerical Methods
Numerical Computation and Optimization
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Air Force Admin College, Coimbatore
Elements of Numerical Integration
Presentation transcript:

CPE 332 Computer Engineering Mathematics II Part III, Chapter 10 Numerical Differentiation and Integration

Today Topics Chapter 10 Numerical Differentiation and Integration Derivative Approximation Forward, Backward, Centered Difference High Order Derivative High Accuracy Approximation Integral Approximation Polynomial Zero Order First Order (Trapezoidal) Second Order (Simpson 1/3) Third Order (Simpson 3/8) More Accurate Method Richardson Extrapolation

Slope of Line m=slope = tan  = (y2-y1)/ (x2-x1) (x2,y2) (y2-y1)  

Definition of Derivative Derivative of f(x) at any point x is the slope of the tangent line at that point (x,f(x)) Mathematically For function y=f(x), derivative of function is written in many forms

Approximation of slope at point x using secant line Slope at ‘x’  [f(x+x) - f(x)] / x = y / x As x approaches 0, we have y/x approach a true slope of f at x. (x+x, f(x+x)) f(x+x) - f(x) =y (x, f(x)) x

Derivative(Forward) y

Derivative(Backward) y

Derivative(Central) y

Introduction h h f(xi+1) f(xi) f(xi-1) xi-1 xi xi+1

Finite Divided-Difference

Finite Divided-Difference

Finite Divided-Difference

Second Derivative

Second Derivative

High Accuracy Finite Divided-Difference

High Accuracy Finite Divided-Difference

Summary

Summary

Summary

Numerical Integration Newton-Cotes Integration Formula Zero-Order Approximation First-Order Approximation Trapezoidal Rule Second-Order Approximation Simpson 1/3 rule Third-Order Approximation Simpson 3/8 rule Romberg Integration Richardson Extrapolation Romberg Integration Algorithm

Integral Approximation

Integral Approximation xn-1 xn

Zero-Order Approximation xn-1 xn

Zero-Order Approximation a0=f(a) x0 x1 x2 x3 x4 xn-1 xn

Zero-Order Approximation a0=f((a+b)/2) x0 x1 x2 x3 x4 xn-1 xn

Zero-Order Approximation

First-Order Approximation xn-1 xn

First-Order Approximation

First-Order Approximation

First-Order Approximation

Trapezoidal Rule

Trapezoidal Rule

Second-Order Approximation xn-1 xn Simpson’s 1/3 Rule

Second-Order Approximation

Second-Order Approximation

Second-Order Approximation

Second-Order Approximation

Third-Order Approximation xn-1 xn Simpson’s 3/8 Rule

Third Degree Approximation

Simson’s 3/8 Rule

Romberg Integration

Romberg Integration

Romberg Integration

Romberg Integration

Romberg Integration

Romberg Integration

Romberg Integration

Romberg Integration

Romberg Integration

Romberg Integration

Romberg Integration

Romberg Integration

Summary

Homework 10: Ch 10 Download

End of Week 13 Week 14 Week 15: End of Part III Chapter 11 Solutions of ODE + HW 11 Week 15: Ch 12 Curve Fitting + HW 12 End of Part III Prepare for Final Exam