10 NumericalIntegration

# 10 NumericalIntegration - Numerical Integration and...

This preview shows pages 1–9. Sign up to view the full content.

Numerical Integration and Differentiation CEE3804: Computer Apps for Civil and Environmental Engineering

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

View Full Document
Newton Cotes Integration Formulas z Replace function or tabulated data to be integrated with a simpler, easy to integrate approximating function z where f n (x) is a polynomial of form ∫∫ = b a b a n dx x f dx x f I ) ( ) ( n n n x a x a x a a x f + + + + = ... ) ( 2 2 1 0
Trapezoid Rule z Newton-Cotes with n = 1 z where ∫∫ = b a b a dx x f dx x f I ) ( ) ( 1 () a x a b a f b f a f x f + = ) ( ) ( ) ( ) ( 1

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

View Full Document
Chapra
Trapezoid Rule, continued z Substituting and integrating z This is termed the trapezoid rule z For all Newton-Cotes I = width * average height where the average height varies with n () 2 ) ( ) ( b f a f a b I + =

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

View Full Document
Chapra
Trapezoid Rule, Comments z Easy to implement z Works with function or tabulated data z For equally spaced data with n equally spaced points, formula can be simplified to z But relatively poor accuracy compared to other techniques. Accuracy increases as use more points (i.e. delta x smaller) x y y y I n i i n + + = = 1 2 1 2

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

View Full Document
Trapezoid Rule Examples in Excel z Trapeziod unequal.xls z Trapezoid equal.xls
This is the end of the preview. Sign up to access the rest of the document.

## 10 NumericalIntegration - Numerical Integration and...

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

View Full Document
Ask a homework question - tutors are online