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
Using Newton’s forward interpolation formula find the cubic polynomial.
| x | 0 | 1 | 2 | 3 |
| f(x) | 1 | 2 | 1 | 10 |
The population of a city in a censes taken once in 10 years is given below. Estimate the population in the year 1955.
| Year | 1951 | 1961 | 1971 | 1981 |
| Population in lakhs |
35 | 42 | 58 | 84 |
In an examination the number of candidates who secured marks between certain intervals was as follows:
| Marks | 0 - 19 | 20 - 39 | 40 - 59 | 60 - 79 | 80 - 99 |
| No. of candidates |
41 | 62 | 65 | 50 | 17 |
Estimate the number of candidates whose marks are less than 70.
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 |
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
Choose the correct alternative:
If f(x) = x2 + 2x + 2 and the interval of differencing is unity then Δf(x)
Choose the correct alternative:
For the given data find the value of Δ3y0 is
| x | 5 | 6 | 9 | 11 |
| y | 12 | 13 | 15 | 18 |
Find f(0.5) if f(– 1) = 202, f(0) = 175, f(1) = 82 and f(2) = 55
If u0 = 560, u1 = 556, u2 = 520, u4 = 385, show that u3 = 465
