Hw5+6

Hw5+6 - EE103 HW5 Winter 2009 Prof S E Jacobsen EE103...

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

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

View Full Document
EE103, HW5, Winter 2009, Prof. S. E. Jacobsen Page 2 / 5 PD. Does the method converge to an optimal point? What property of the code is related to your answer to this last question? Use “diary”. Prob 2 (Partial Tutorial): Tutorial: Following Lecture Slides 8A, the Newton-Cotes approach to numerically approximating the integral of f on the interval [ , ] ab is 1 bb m aa f xdx P xdx ∫∫ () where m equally spaced samples for f x are taken and an (1 ) m degree interpolating polynomial, 1 m Px , is integrated on the interval [ , ] . Note the following, by referring to Lecture Slides 8A: (1) When 2 m = , we see that the N-C approximation to the integral can be stated as 1 ( () ) 2 b m a ba d x f a f b =+ (2) When 3 m = , we see that the N-C approximation to the integral can be stated as 1 4 6 b m a d x f a f c f b + [() ] This type of pattern continues for larger values of m
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 33

Hw5+6 - EE103 HW5 Winter 2009 Prof S E Jacobsen EE103...

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

View Full Document
Ask a homework question - tutors are online