18 Numerical_Integration

18 Numerical_Integration - 18 - Numerical Integration...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
18 - Integration - 1 18 - Numerical Integration Remember that integrating a function falls under two categories: Definite and Indefinite Integrals. A definite integral is defined as = b a dx x f A ) ( while an indefinite integral is defined as + = C d f t g τ ) ( ) ( Now, in the computer, it’s a fairly straightforward task to compute a definite integral. All we need to do is to compute the area under the function. To find the area between two nearby points, x ( j ) and x ( j +1), it is necessary to compute the area under the curve segment defined below Trapezoidal Rule How do we compute the area? It really depends on how we want to approximate the value of the function between x j and x j+1 . We could use the beginning value, y j , and compute the area of a rectangle j j j x x y x x A j j ) ( 1 , 1 = + + Alternatively, we could use the ending value x y x j+1 x y y
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
18 - Integration - 2 1 1 , ) ( 1 + + = + j j j x x y x x A j j or, we could use some average value between
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/12/2011 for the course E 7 taught by Professor Patzek during the Spring '08 term at Berkeley.

Page1 / 4

18 Numerical_Integration - 18 - Numerical Integration...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online