solhw8

solhw8 - Solutions for Homework 8 Foundations of...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Solutions for Homework 8 Foundations of Computational Math 2 Spring 2011 Problem 8.2 Consider the two quadrature formulas I 2 ( f ) = 2 3 [2 f (- 1 / 2)- f (0) + 2 f (1 / 2)] I 4 ( f ) = 1 4 [ f (- 1) + 3 f (- 1 / 3) + 3 f (1 / 3) + f (1)] What is the degree of exactness when I 2 ( f ) is used to approximate I ( f ) on [- 1 , 1]? What is the degree of exactness when I 2 ( f ) is used to approximate I ( f ) on [- 1 / 2 , 1 / 2]? What is the degree of exactness when I 4 ( f ) is used to approximate I ( f ) on [- 1 , 1]? Solution: We have I = integraldisplay 1 1 x k dx = braceleftBigg 0 if k is odd 2 k +1 if k is even I 2 ( f ) = braceleftBigg 4 3 bracketleftbig (- 1 / 2) k- 1 + (1 / 2) k bracketrightbig = 2 if k = 0 4 3 bracketleftbig (- 1 / 2) k + (1 / 2) k bracketrightbig if k 1 So clearly I = I 2 ( f ) = 0 if k 1 is odd. For k 2 and even we must have 3 2 k = 4( k + 1) which is equal for k = 2 and not equal for k = 4. Therefore the degree of exactness for= 4....
View Full Document

This note was uploaded on 11/10/2011 for the course MAD 5404 taught by Professor Gallivan during the Spring '11 term at FSU.

Page1 / 3

solhw8 - Solutions for Homework 8 Foundations of...

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

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