Advertisements
Advertisements
Question
Using Lagrange’s interpolation formula find a polynominal which passes through the points (0, –12), (1, 0), (3, 6) and (4, 12)
Advertisements
Solution
We can construct a table using the given points.
| x | 0 | 1 | 3 | 4 |
| y | – 12 | 0 | 6 | 12 |
Here x0 = 0
x1 = 1
x2 = 3
x3 = 4
y0 = – 12
y1 = 0
y2 = 6
y3 = 12
= `((x - 0)(x - 3)(x - 4))/((1 - 0)(1 - 3)(1 - 4)) xx 0 +`
= `((x - 0)(x - 1)(x - 4))/((3 - 0)(3 - 1)(3 - 4)) xx 6 + ((x - 0)(x - 1)(x - 3))/((4 - 0)(4 - 1)(4 - 3)) xx 12`
= `((x - 1)(x - 3)(x - 4))/((-1)(-3)(-4)) (-12) + 0 +`
= `((x)(x - 1)(x - 4))/((3)(2)(-1)) xx 6 + ((x)(x - 1)(x - 30))/((4)(3)(1)) xx 12`
= `((x - 1)(x^2 - 7x + 12))/((-12)) (-12) + (x(x^2 - 5x + 4))/(-6) xx (6) + (x(x^2 - 4x + 3))/12 xx 12`
= (x3 – 7x2 + 12x – x2 + 7x – 12) – (x3 – 5x2 + 4x) + (x3 – 4x2 + 3x)
= (x3 – 8x2 + 19x – 12) – (x3 – 5x2 + 4x) + (x3 – 4x2 + 3x)
= x3 – 8x2 + 19x – 12 – x3 + 5x2 – 4x + x3 – 4x2 + 3x
∴ y = x3 – 7x2 + 18x – 12
APPEARS IN
RELATED QUESTIONS
Find f(2.8) from the following table:
| x | 0 | 1 | 2 | 3 |
| f(x) | 1 | 2 | 11 | 34 |
Using interpolation estimate the output of a factory in 1986 from the following data.
| Year | 1974 | 1978 | 1982 | 1990 |
| Output in 1000 tones |
25 | 60 | 80 | 170 |
Use Lagrange’s formula and estimate from the following data the number of workers getting income not exceeding Rs. 26 per month.
| Income not exceeding (₹) |
15 | 25 | 30 | 35 |
| No. of workers | 36 | 40 | 45 | 48 |
Using interpolation estimate the business done in 1985 from the following data
| Year | 1982 | 1983 | 1984 | 1986 |
| Business done (in lakhs) |
150 | 235 | 365 | 525 |
Using interpolation, find the value of f(x) when x = 15
| x | 3 | 7 | 11 | 19 |
| f(x) | 42 | 43 | 47 | 60 |
Choose the correct alternative:
For the given points (x0, y0) and (x1, y1) the Lagrange’s formula is
Choose the correct alternative:
Lagrange’s interpolation formula can be used for
From the following data find y at x = 43 and x = 84.
| x | 40 | 50 | 60 | 70 | 80 | 90 |
| y | 184 | 204 | 226 | 250 | 276 | 304 |
The area A of circle of diameter ‘d’ is given for the following values
| D | 80 | 85 | 90 | 95 | 100 |
| A | 5026 | 5674 | 6362 | 7088 | 7854 |
Find the approximate values for the areas of circles of diameter 82 and 91 respectively
If u0 = 560, u1 = 556, u2 = 520, u4 = 385, show that u3 = 465
