ENGI 4430 Numerical Integration Page 5-01

Similar documents
Chapter 5. Curve fitting

CS475 Parallel Programming

PGE 310: Formulation and Solution in Geosystems Engineering. Dr. Balhoff. Interpolation

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses

ENGI 9420 Lecture Notes 3 - Numerical Methods Page 3.01

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses

UNIT 2 SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS

1. A real number x is represented approximately by , and we are told that the relative error is 0.1 %. What is x? Note: There are two answers.

( ) 2 2. Multi-Layer Refraction Problem Rafael Espericueta, Bakersfield College, November, 2006

5 Short Proofs of Simplified Stirling s Approximation

CHAPTER 5 INTEGRATION

St John s College. Preliminary Examinations July 2014 Mathematics Paper 1. Examiner: G Evans Time: 3 hrs Moderator: D Grigoratos Marks: 150

LECTURE 8: Topics in Chaos Ricker Equation. Period doubling bifurcation. Period doubling cascade. A Quadratic Equation Ricker Equation 1.0. x x 4 0.

In Calculus I you learned an approximation method using a Riemann sum. Recall that the Riemann sum is

ENGI 4430 Advanced Calculus for Engineering Faculty of Engineering and Applied Science Problem Set 4 Solutions [Numerical Methods]

ENGI 4421 Propagation of Error Page 8-01

ESS Line Fitting

1 0, x? x x. 1 Root finding. 1.1 Introduction. Solve[x^2-1 0,x] {{x -1},{x 1}} Plot[x^2-1,{x,-2,2}] 3

Laboratory I.10 It All Adds Up

. The set of these sums. be a partition of [ ab, ]. Consider the sum f( x) f( x 1)

16 Homework lecture 16

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions.

4 Round-Off and Truncation Errors

Mu Sequences/Series Solutions National Convention 2014

Homework Assignment Number Eight Solutions

Assignment 7/MATH 247/Winter, 2010 Due: Friday, March 19. Powers of a square matrix

Singular Value Decomposition. Linear Algebra (3) Singular Value Decomposition. SVD and Eigenvectors. Solving LEs with SVD

2006 Jamie Trahan, Autar Kaw, Kevin Martin University of South Florida United States of America

Centroids & Moments of Inertia of Beam Sections

ENGI 3423 Simple Linear Regression Page 12-01

Lecture 12 APPROXIMATION OF FIRST ORDER DERIVATIVES

NATIONAL SENIOR CERTIFICATE GRADE 11

Simple Linear Regression

Special Instructions / Useful Data

Statistics MINITAB - Lab 5

( ) = ( ) ( ) Chapter 13 Asymptotic Theory and Stochastic Regressors. Stochastic regressors model

Homework 1: Solutions Sid Banerjee Problem 1: (Practice with Asymptotic Notation) ORIE 4520: Stochastics at Scale Fall 2015

Numerical Simulations of the Complex Modied Korteweg-de Vries Equation. Thiab R. Taha. The University of Georgia. Abstract

MA/CSSE 473 Day 27. Dynamic programming

C-1: Aerodynamics of Airfoils 1 C-2: Aerodynamics of Airfoils 2 C-3: Panel Methods C-4: Thin Airfoil Theory

Part 4b Asymptotic Results for MRR2 using PRESS. Recall that the PRESS statistic is a special type of cross validation procedure (see Allen (1971))

CSE 5526: Introduction to Neural Networks Linear Regression

Test Paper-II. 1. If sin θ + cos θ = m and sec θ + cosec θ = n, then (a) 2n = m (n 2 1) (b) 2m = n (m 2 1) (c) 2n = m (m 2 1) (d) none of these

CHAPTER 6. d. With success = observation greater than 10, x = # of successes = 4, and

Centroids Method of Composite Areas

MMJ 1113 FINITE ELEMENT METHOD Introduction to PART I

Regression and the LMS Algorithm

Bounds on the expected entropy and KL-divergence of sampled multinomial distributions. Brandon C. Roy

G S Power Flow Solution

Chapter 3 Sampling For Proportions and Percentages

L5 Polynomial / Spline Curves

Correlation and Regression Analysis

GUARANTEED REAL ROOTS CONVERGENCE OF FITH ORDER POLYNOMIAL AND HIGHER by Farid A. Chouery 1, P.E. US Copyright 2006, 2007

Multivariate Transformation of Variables and Maximum Likelihood Estimation

Chapter 3 Differentiation and Integration

Overview of the weighting constants and the points where we evaluate the function for The Gaussian quadrature Project two

MEASURES OF DISPERSION

Logistic regression (continued)

Derivation of 3-Point Block Method Formula for Solving First Order Stiff Ordinary Differential Equations

Sampling Theory MODULE V LECTURE - 14 RATIO AND PRODUCT METHODS OF ESTIMATION

Midterm Exam 1, section 1 (Solution) Thursday, February hour, 15 minutes

THE ROYAL STATISTICAL SOCIETY 2016 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE MODULE 5

Lecture 5: Interpolation. Polynomial interpolation Rational approximation

Lecture 2 Solution of Nonlinear Equations ( Root Finding Problems )

CHAPTER 4 RADICAL EXPRESSIONS

Introduction to Numerical Differentiation and Interpolation March 10, !=1 1!=1 2!=2 3!=6 4!=24 5!= 120

Given a table of data poins of an unknown or complicated function f : we want to find a (simpler) function p s.t. px (

Mechanics of Materials CIVL 3322 / MECH 3322

k 1 in the worst case, and ( k 1) / 2 in the average case The O-notation was apparently The o-notation was apparently

THE ROYAL STATISTICAL SOCIETY HIGHER CERTIFICATE

Objectives of Multiple Regression

Spreadsheet Problem Solving

Chapter 4 (Part 1): Non-Parametric Classification (Sections ) Pattern Classification 4.3) Announcements

Chapter Business Statistics: A First Course Fifth Edition. Learning Objectives. Correlation vs. Regression. In this chapter, you learn:

Analysis of Lagrange Interpolation Formula

IFYMB002 Mathematics Business Appendix C Formula Booklet

Solving Constrained Flow-Shop Scheduling. Problems with Three Machines

QR Factorization and Singular Value Decomposition COS 323

f f... f 1 n n (ii) Median : It is the value of the middle-most observation(s).

Third handout: On the Gini Index

Point Estimation: definition of estimators

HOOKE'S LAW. THE RATE OR SPRING CONSTANT k.

Mean is only appropriate for interval or ratio scales, not ordinal or nominal.

1 Solution to Problem 6.40

INTERNATIONAL BACCALAUREATE ORGANIZATION GROUP 5 MATHEMATICS FORMULAE AND STATISTICAL TABLES

ENGI 9420 Engineering Analysis Assignment 3 Solutions

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand DIS 10b

Statistical modelling and latent variables (2)

An Expansion of the Derivation of the Spline Smoothing Theory Alan Kaylor Cline

F. Inequalities. HKAL Pure Mathematics. 進佳數學團隊 Dr. Herbert Lam 林康榮博士. [Solution] Example Basic properties

12.2 Estimating Model parameters Assumptions: ox and y are related according to the simple linear regression model

CHAPTER 4d. ROOTS OF EQUATIONS

2.28 The Wall Street Journal is probably referring to the average number of cubes used per glass measured for some population that they have chosen.

PTAS for Bin-Packing

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model

Log1 Contest Round 2 Theta Complex Numbers. 4 points each. 5 points each

Chapter 9 Jordan Block Matrices

: Numerical Analysis Topic 2: Solution of Nonlinear Equations Lectures 5-11:

Computational Geometry

EECE 301 Signals & Systems

Transcription:

ENGI 443 Numercal Itegrato Page 5-5. Numercal Itegrato I some o our prevous work, (most otaly the evaluato o arc legth), t has ee dcult or mpossle to d the dete tegral. Varous symolc algera ad calculus sotware packages (such as Maple ) may e ale to provde ether a eact aswer or a umercal appromato. I ths re chapter we shall see three umercal schemes or the evaluato o proper dete tegrals ad two methods or dg the zeroes o uctos. I your rst course tegral calculus, the dete tegral ( ) d a as a lmt o the sum o the areas o rectagles tted uder the curve y = ( ) : was costructed a For rectagles o equal wdth h = a + h =,,,, (so that = a ad = ) a appromato s =, ( ) ( ) ( ) d h a = However, uless h s very small (whch requres a very large umer o rectagles), t s clear that ths appromato ca lead to sustatal errors. A etter appromato s to jo the top let corer o each rectagle to the top let corer o the et rectagle, thus replacg the rectagles y trapezods:

ENGI 443 Numercal Itegrato Page 5- Where a curve y s cocave dow, the area o a trapezod wll e a uderestmate o the area uder the curve. Where the curve s cocave up, the area o the trapezod wll e a overestmate o the area uder the curve. The sum o the areas o the trapezods usually provdes a etter estmate o the area uder the curve tha the sum o the areas o the rectagles does. The area o the trapezod wth let edge at Arevate y. It ollows that s A h d a h h 3 h d 3 a whch s the trapezodal rule.

ENGI 443 Numercal Itegrato Page 5-3 Eample 5. Estmate the legth alog the paraola rule wth = 8. y rom = to =, usg the trapezodal dy d y ds dy 4 d d ds L d 4 d d a 8, a, h 8 4 a h 4 d 4.5.5.75.75 4 where Tale o values or the trapezodal rule: ( ) ( )...5.834.3668.5.444.8847 3.75.8776 3.6555 4..3668 4.4736 5.5.6958 5.38565 6.5 3.678 6.34555 7.75 3.6455 7.8 8. 4.36 d Thereore 5.3 3.3 8 d 4.657

ENGI 443 Numercal Itegrato Page 5-4 Eample 5. (cotued) Note: ater more tha oe susttuto, t ca e show that a 4 l 4 4 sh d 4 4 4 a sh 4 Thereore the eact value s L 7 4.647 4 The accuracy o the trapezodal rule does mprove wth larger umers o arrower tervals, ut at the cost o more computatos. I ths eample, the tegrad s cocave up everywhere. Thereore the trapezodal rule wll provde a overestmate that s worse or smaller. a L 8 4.6569 6 4.6493 3 4.6474 64 4.6469 Eact 4.6468 Also see the Ecel le at "www.egr.mu.ca/~ggeorge/443/demos/". The trapezodal rule essetally estmates the curve y straght les etwee pars o adjacet pots. A urther reemet volves ttg a paraola through each set o three cosecutve pots. The resultg algorthm s Smpso s Rule: a h d 3 4 3 4 4 4 where the umer o tervals must e eve. Ths algorthm s attruted to the eghteeth cetury Brtsh mathematca Thomas Smpso, ut t was dscovered a cetury earler y astroomer Johaes Kepler.

ENGI 443 Numercal Itegrato Page 5-5 Eample 5. Estmate the legth alog the paraola wth = 4. y rom = to =, usg Smpso s rule As Eample 5., the arc legth s L 4 d. a 4, a, h 4 ( ) ( ) 4 ( )...5.444 5.656854..3668 4.4736 3.5 3.678.649 4. 4.36 L 3 4 d. 5.656854 4.4736.649 4.36 L 4.65 whch s qute close to the eact aswer o 4.647 (to 3 d.p.), gve the small umer o tervals used. It s a etter appromato tha the trapezodal rule wth twce as may tervals.

ENGI 443 Numercal Itegrato Page 5-6 Graphcal Soluto to () = I cases where t s dcult to d a zero o a ucto (that s, values o or whch ) aalytcally, varous umercal schemes est. The smplest method s graphcal. Usg approprate sotware (eve a smple hadheld graphg calculator), just zoom o the -as tercept repeatedly utl the desred precso s acheved. Eample 5.3 Fd the soluto o e, correct to ve decmal places. From a sketch o the two curves y = ad y e, t s ovous that the oly soluto s somewhere the terval (, ). Graph the curve y e. Clearly () = < ad () = /e > () s cotuous ad chages sg oly oce sde (, ). Zoom to the terval =.5 to.6: Clearly the root o () = s (.565,.57).

ENGI 443 Numercal Itegrato Page 5-7 Eample 5.3 (cotued) Zoomg aga, Now the root s see to e (.567,.5673). The root seems to e (.5673,.5675). decmal place. Oe al zoom wll resolve the th Thereore, correct to ve decmal places, the soluto to.5674 A calculator quckly corms that e.5674. e s =.5674.

ENGI 443 Numercal Itegrato Page 5-8 Numercal Soluto to () = Newto s Method dy From the deto o the dervatve, d dy we ota y or, equvaletly, d y. The taget le to the curve y lm, y at the pot y has slope. P, Follow the taget le dow to ts as tercept. That tercept s the et appromato. y y y y ad I s the th appromato to the equato, the a etter appromato may e whch s Newto s method, (rst developed a work o Sr Isaac Newto, wrtte 669 ut ot pulshed utl 7).

ENGI 443 Numercal Itegrato Page 5-9 Eample 5.4 Fd the soluto o e, correct to 5 decmal places. From a sketch o the two curves y = ad y e, t s ovous that the oly soluto s somewhere the terval (, ). A reasoale rst guess s. e e e Tale o cosecutve values: e e. e.5.653.6653.663.5663.35.56766.83.56743..56743..56743 Correct to ve decmal places, the soluto to e s =.5674. I act, we have the root correct to s decmal places, =.56743. A spreadsheet to demostrate Newto s method or ths eample s avalale rom the course we ste, at "www.egr.mu.ca/~ggeorge/443/demos/". Ths method coverges more rapdly tha the graphcal method, ut requres more computatoal eort. Cauto: Newto s method ca al the eghourhood o the root. A shallow taget le could result a sequece o appromatos that als to coverge to the correct value. Ths method also should ot e used ear ay dscotutes. There s a wealth o other methods or umercal tegrato ad or the umercal soluto o varous equatos, whch we do ot have the tme to eplore ths course.

ENGI 443 Numercal Itegrato Page 5- Eample 5.4 (addtoal ote) Graph o e, Graph o or, y = ad y e are take the other way aroud, e Reversg the order o the two uctos reverses the sgs o all etres the tale or the secod ad thrd colums, ad, ut the etres the rst ad last colums wll e eactly the same. [Ed o Chapter 5]