Docsity

MATH 435 Homework 3: Simpson's Rule, Quadrature, and Adaptive Quadrature - Prof. Biswa Dat, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
MATH 435 Homework #3
Spring 2009 Prof. Biswa Nath Datta
Due March 27, 2009
1. Derive the error formula for the standard Simpson’s formula and using it prove the
error formula for the composite Simpson’s rule:
Es
c=−(b−a)
180 h4f(4)(η),
where a≤η≤b. (Consult your textbook, if necessary).
2. Suppose that it is required to estimate Z1
0
e−x2dx within an accuracy of = 10−5. Find
husing
(a) The composite trapezoidal rule
(b) The composite Simpson’s rule
1
pf3
pf4

Partial preview of the text

Download MATH 435 Homework 3: Simpson's Rule, Quadrature, and Adaptive Quadrature - Prof. Biswa Dat and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

MATH 435 Homework

Spring 2009 Prof. Biswa Nath Datta

Due March 27, 2009

  1. Derive the error formula for the standard Simpson’s formula and using it prove the error formula for the composite Simpson’s rule:

Ecs = −

(b − a) 180

h^4 f (4)(η),

where a ≤ η ≤ b. (Consult your textbook, if necessary).

  1. Suppose that it is required to estimate

0

e−x

2 dx within an accuracy of  = 10−^5. Find h using

(a) The composite trapezoidal rule

(b) The composite Simpson’s rule

  1. Let Pn(x) be the nth Legendre polynomial and Q(x) be any polynomial of degree less than n. Then prove that (^) ∫ 1

− 1

Q(x)Pn(x)dx = 0.

  1. Approximate

1

dx x + 5

using Gaussian Quadrature with n = 2 and n = 3.

  1. Suppose that Romberg integration is used to approximate

∫ (^1)

0

x^2 1 + x^3

dx.

Develop a Romberg table with n = 3, and use this table to compute an approximation of the above integral.