Docsity

Numerical Analysis - Assignment 4 Questions | MATH 471, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Homework 4, Math 471
18 September, 2008
Name:
ID:
1. (Exercise 7.6): Here a strange one! Write down the errors in the approximations
of Z1
0
x4dx and Z1
0
x5dx,
using the the Trapezium rule and Simpson’s rule. Hence, find the value of the
constant Cfor which the Trapezium rule gives the correct result for the calculation
of Z1
0x5
−Cx4dx,
and show that the trapezium rule gives a more accurate result than Simpson’s rule
when 15
14 < C < 85
74 .
2. (Exercise 7.7):Determine the values of cj, for j=−1,0,1,2 such that the qudra-
ture rule
Q(f) = c−1f(−1) + c0f(0) + c1f(1) + c2f(2)
gives the correct value of the integral R1
0f(x)dx whenever fis a polynomial of
degree 3.
3. (Exercise 7.8): Writing T(m) for the composite Trapezium rule defined in (7.15)
and S(2m) for the composite Simpson’s rule defined in (7.17), show that
S(2m) = 4
3T(2m)−
1
3T(m).
1

Partial preview of the text

Download Numerical Analysis - Assignment 4 Questions | MATH 471 and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Homework 4, Math 471

18 September, 2008

Name:

ID:

  1. (Exercise 7.6): Here a strange one! Write down the errors in the approximations of (^) ∫ (^1)

0

x^4 dx and

∫ (^1)

0

x^5 dx,

using the the Trapezium rule and Simpson’s rule. Hence, find the value of the constant C for which the Trapezium rule gives the correct result for the calculation of (^) ∫ 1 0

( x^5 − Cx^4

) dx,

and show that the trapezium rule gives a more accurate result than Simpson’s rule when 1514 < C < 8574.

  1. (Exercise 7.7):Determine the values of cj , for j = − 1 , 0 , 1 , 2 such that the qudra- ture rule Q(f ) = c− 1 f (−1) + c 0 f (0) + c 1 f (1) + c 2 f (2) gives the correct value of the integral

∫ (^1) 0 f^ (x)^ dx^ whenever^ f^ is a polynomial of degree 3.

  1. (Exercise 7.8): Writing T (m) for the composite Trapezium rule defined in (7.15) and S(2m) for the composite Simpson’s rule defined in (7.17), show that

S(2m) =

T (2m) −

T (m).