Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
28 views

Assignment 6

The document contains instructions for 12 numerical integration problems involving techniques like the trapezoidal rule, Simpson's rule, and Gauss integration. The problems involve estimating definite integrals of various functions.

Uploaded by

Anu Gau
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Assignment 6

The document contains instructions for 12 numerical integration problems involving techniques like the trapezoidal rule, Simpson's rule, and Gauss integration. The problems involve estimating definite integrals of various functions.

Uploaded by

Anu Gau
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment 6: Numerical Integration

1. Use the Trapezoidal rule with n = 8 to estimate:


5
∫1 1 + x 2 dx.
2
2. Compute the Trapezoidal approximation for ∫0 x dx using a regular partition taking
four subintervals.

2
3. Use Simpson's-1/3 rule to estimate ∫0 x dx using a regular partition with n = 6.
Compare the estimate with the exact value.

3
4. Use Simpson's-3/8 rule to estimate ∫0 e -x 2 dx taking h = 0.1.
5. Show that the closed Newton-Cotes formula for n = 3 (known as the ”three eights
rule”) given by
b-a
I(f) = [f(a) + 3f(a + h) + 3f(a + 2h) + f(b)]
8
where h = (b - a) / 3 , has degree of precision equal to 3.
6. Derive Simpson’s rule with error term by using
x2
∫x 0
f(x)dx = a0 f(x0 ) + a1 f(x1 ) + a2 f(x2 ) + kf (4) (𝜉).

Find a 0 , a 1 , and a 2 from the fact that Simpson’s rule is exact for f(x) = x n when n =
1, 2, and 3. Then find k by applying the integration formula with f(x) = x 4 .
7. If y = A + Bx + Cx 2 and y 0 , y 1 and y 2 are the values of y corresponding to x = 0, h
and 2h respectively then prove that
2h h
∫0 ydx = (y0 + 4y1 + y2 ).
3
8. Compute
1 xp
Ip = ∫ dx
0 x 3 + 10
for p=1 and 2, using trapezium rule and Simpson’s 1/3 rule with the number of points
3, 5 and 9. Improve the results using Romberg integration.
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’s 1/3 rule for first six intervals and trapezium rule for the last interval to
2.1
evaluate ∫0.7 f(x)dx. Also, use trapezium rule for the first interval and Simpson’s
1/3 rule for the rest of intervals to evaluate the integral. Comment on the obtained
results by comparing with the exact value of the integral, which is equal to 1.81759.
2 2x
10. Evaluate the integral I = ∫1 dx, using Gauss two point rule. Compare with
1 + x4
the exact solution I = tan -1 (4) - 𝜋 / 4 .
2.0 1.5
11. Using trapezium rule, evaluate ∫1.4 ∫1.0 ln(x + 2y)dydx choosing ∆x = 0.15 and ∆y
= 0.25.
2 2
12. Evaluate ∫0 ∫0 f(x, y)dxdy by trapezium rule for the following data.
x 0 0.5 1 1.5 2
y

0 2 3 4 5 5

1 3 4 6 9 11

2 4 6 8 11 14

You might also like