Professional Documents
Culture Documents
Asgn 3 Integration
Asgn 3 Integration
Department of Mathematics
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
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 ∗ ∗ ∗ ∗ ∗ ∗ ∗