Course: CDA106, Topic- Numerical Integration
Tutorial Sheet #2
Rπ
1. Using the trapezium rule, evaluate 0 sin xdx by dividing the range into 6 equal
intervals.
R6
2. Using the trapezium rule, evaluate 1 sin xdx with h = 0.5.
3. The velocity of a particle which starts from rest is given by the following table.
t(sec) 0 2 4 6 8 10 12 14 16 18
v(ft/sec) 0 12 16 26 40 44 25 12 5 0
Evaluate using trapezium rule, the total distance travelled in 18 seconds.
R 1 dx
4. Using the trapezium rule, evaluate −1 1+x 2 taking 8 intervals.
R1
5. Using the Simpson’s 1/3 rule, evaluate 0 xex dx taking four intervals. Compare the
result with actual value.
R2
6. Evaluate 0 ex dx using the Simpson’s rule with h = 1 and h = 1/2. Compare with
exact solution.
R 6 dx
7. Evaluate 0 1+x 2 by (i) trapezium rule, (ii) Simpson’s rule. Also, check the result
by actual integration.
8. Compute
1
xp
Z
Ip = dx for p = 0, 1
0 x3 + 10
using trapezium rule and Simpson’s 1/3 rule with the number of points 3,5 and 9.
9. For the given data
x 0.7 0.9 1.1 1.3 1.5 1.7 1.9 2.1
f (x) 0.64835 0.91360 1.16092 1.36178 1.49500 1.35007 1.52882 1.44573
use Simpson’sR 2.11/3 rule for first six intervals and trapezium rule for the last interval
to evaluate 0.7 f (x)dx. Also, use trapezium rule for the first interval and Simpson’s
R 2.1
1/3 rule for the rest of intervals to evaluate 0.7 f (x)dx.
R 5 dx
10. Evaluate 0 4x+5 by Simpson’s 1/3 rule and hence find the value of loge 5, (n = 10).
Rπ
11. By dividing the range into ten equal parts, evaluate 0 sin xdx by trapezium rule
and Simpson’s rule. Verify your answer with integration.
R2
12. Use three point Gauss formula to evaluate 1 dx x
.
R 1 dx
13. Apply Gauss two point formula to evaluate −1 1+x 2.
R 1 dx
14. Using three point Gauss formula, evaluate 0 1+x 2.
1
R 2 (x2 +2x+1)
15. Evaluate 0 1+(x+1)4
dx by Gauss three point formula.
R1
16. Using the three point Gauss quadrature, evaluate √ dx .
0 1+x4
R 15 3
17. Evaluate 0.2
e−x dx using the three point Gauss quadrature.
R 2 dx
18. Use two point and three point Gauss formula to evaluate I = 0 3+4x . Compare
with the exact solution.
R2 dx
19. Use two point and three point Gauss formula to evaluate 0 x2 +2x+10 .
R 3 cos 2x
20. Find the value of the integral I = 2 1+sin x
dx, using two point and three point
Gauss formulas.