# Handout30 - COMPUTER SCIENCE 349A Handout Number 30...

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

1 COMPUTER SCIENCE 349A Handout Number 30 COMPOSITE (Multiple-Application) SIMPSON'S RULE (Section 21.2.2) Each application of Simpson's rule requires 2 subintervals on the interval of integration and 3 quadrature points, say x 2 j 2 , x 2 j 1 and x 2 j : o o o f(x) x x 2j-2 x 2j-1 x 2j hh [] ) ( ) ( 4 ) ( 3 ) ( 2 1 2 2 2 2 2 2 j j j x x x f x f x f h dx x f j j + + Thus, m applications of Simpson's rule on [ a , b ] require that [ a , b ] be subdivided into an even number of subintervals. In the following, we will assume that [ a , b ] is subdivided into 2 m subintervals, each of length h = b a 2 m , and the corresponding 2 m + 1 quadrature points will be denoted by m x x x x 2 2 1 0 , , , , L . The case m = 1: just one application of Simpson's rule (or, we could call this the "noncomposite" Simpson's rule). The case m = 2: two applications of Simpson's rule require 5 quadrature points and 4 subintervals of [ a , b ] , each of length h = b a 4 .

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

View Full Document
2 o o o f(x) x xxx o o xx 01 23 4 hh = a = b Letting ) ( denote i i x f f , this approximation becomes [] . 4 2 4 3 4 3 4 3
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 02/08/2010 for the course CSC 349A taught by Professor Olesky during the Spring '08 term at University of Victoria.

### Page1 / 3

Handout30 - COMPUTER SCIENCE 349A Handout Number 30...

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

View Full Document
Ask a homework question - tutors are online