Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

National Institute of Technology Rourkela

Department of Mathematics

Course: Numerical Analysis (Quadrature) Assignment-III


1. Derive Trapezoidal rule, Simpson’s 1/3rd and Simpson’s 3/8th rules and numerically
integrate Z π
sin x
I(f ) = 2
dx
0 1+x
by the above rules. Obtain a bound of the error for the above methods and compare
with the actual error.
2. Z
Determine empirically the rate of convergence of the trapezoidal rule applied to
1
xα ln(x)dx, 0 ≤ α ≤ 1 with a range of values of α = 0.25, 0.5, 0.75, 1.
0

1 R1
3. Find the approximate value of the integral I(f ) = dx by compound trape-
0
1+x
zoidal rule with h = 1/8. Compare this result with its exact value.
4. Numerically integrate Z π
sin x
I(f ) = dx
0 1 + x2
by compound Simpson’s 1/3rd and Compound Simpson’s 3/8th rules.
5. Derive 2-point and
R 1 3-point Gauss-Legendre rules and evaluate approximately the
integral I(f ) = 0 xe−x dx by 2-point and 3-point Gauss-Legendre rules.
6. Determine the coefficients W0 , W1 , W2 such that the rule

In (f ) = W0 f (−1) + W1 f (−1/3) + W2 f (1/2)


Z 1
approximately integrating I(f ) = f (x)dx is exact for polynomials of degree ≤ 2.
−1
Z 1
x
7. Determine the formula for Trapezoidal rule and use it to estimate ln5 from dx
0 4 + x2
with step size h = 0.1.
Z 1
1 
8. Evaluate I = sin dx, using trapezoidal and Simpson’s 13 rule using 10,
0 1 + x2
20 and 100 sub intervals. Determine empirically the rate of convergence of the above
rules.
9. Determine the coefficients C0 , C1 , C2 such that the rule
Z h  
I(f ) ≡ f (x)dx = h C0 f (0) + C1 f (h/3) + C2 f (h)
0

is exact for polynomials of degree as high as possible and determine the order of the
truncation error.
10. Show the trapezoidal rule is exact for polynomials of degree ≤ 1. Evaluate the
Z 1/2
2
integral xex dx with step size 0.1 by trapezoidal method.
0

∗ ∗ ∗ ∗ ∗ ∗ ∗ End ∗ ∗ ∗ ∗ ∗ ∗ ∗

You might also like