0% found this document useful (0 votes)
38 views2 pages

Tutorial 8

The document provides a tutorial on numerical integration techniques including Lagrange interpolation, the trapezoidal rule, and Simpson's 1/3 rule. It includes 10 problems applying these methods to compute definite integrals and their errors.

Uploaded by

Ashish Sitare
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views2 pages

Tutorial 8

The document provides a tutorial on numerical integration techniques including Lagrange interpolation, the trapezoidal rule, and Simpson's 1/3 rule. It includes 10 problems applying these methods to compute definite integrals and their errors.

Uploaded by

Ashish Sitare
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Linear Algebra, Numeircal and Complex Analysis (MA11004)

Department of Mathematics
Indian Institute of Technology Kharagpur
Tutorial Sheet 8, Spring 2024

Topics: Lagrange’s interpolation formula, Trapezoidal rule and Simpson’s 13 rd rule for numer-
ical integrations, and their total error bounds.

1. Given that f (1) = 2, f (2) = 4 , f (3) = 8 , f (4) = 16 , f (7) = 128. Find the value of f (5)
using the Lagrange’s interpolation formula.

2. Using the Lagrange’s interpolation formula, express

3x2 + x + 1
x3 − 6x2 + 11x − 6
as the sum of partial fractions.

3. Using the Lagrange’s formula, prove that


 
1 1 1 1
y0 = (y1 + y−1 ) − (y3 − y1 ) − (y−1 − y−3 ) .
2 8 2 2

Note: yi = y(i) = f (i).

4. Compute the value of following integral


Z 1.4
(sin x − ln x + ex )dx
0.2

using trapezoidal rule with 6 equal subintervals.

5. A car laps a racetrack in 84 seconds. The speed of the car at each 6 seconds interval is
determined using a radar gun and is given from the beginning of the lap, in feet/second,
in the entries in the following table:

Time 0 6 12 18 24 30 36 42 48 54 60 66 72 78 84
Speed 124 134 148 156 147 133 121 109 99 85 78 89 104 116 123

How long is the track?


Note: use trapezoidal formula

6. How big should the spacing h be so that the computation of


Z 1
ex dx
0

by trapezoidal rule will be correct to five decimal places.

7. Let f (x) = ax2 + bx + c be a given function, where a, b, c are constants. Then find
Rh 1
−h f (x) dx using Simpson’s 3 rd rule. Compare the above with the exact integral value.

1
8. Calculate the value of the integral
Z 5.2
ln x dx
4

using Simpson’s 13 rd rule with 6 equal subdivisions of the interval.

9. Determine the number of subintervals, n, required to approximate


Z 2
1
f (x) = dx,
0 x+4

with the total error |E| < 10−4 using

(a) Trapezoidal rule,


(b) Simpson’s 31 rd rule.
R1 2
10. Evaluate the integral 0 x3x+1 dx using Simpson’s 1/3 rd rule (Taking h=0.25). Compare
the error with the exact value.

**********

You might also like