- 2069 Poush · 6 marks
Lagrange: f(27.5)
Short answer
Applying five-point Lagrange interpolation to the given data yields f(27.5) ≈ 3.6362. The data represent f(x)=100/x, and 100/27.5 = 3.6364.
Using Lagrange's interpolation formula evaluate f(27.5) from the table:
| x | 26 | 27 | 28 | 29 | 30 |
|---|---|---|---|---|---|
| f(x) | 3.846 | 3.704 | 3.571 | 3.448 | 3.333 |
Five points are given, so Lagrange's formula gives a polynomial of degree 4:
f(x) = Σ f(xᵢ)·Lᵢ(x), Lᵢ(x) = Π (x − xⱼ)/(xᵢ − xⱼ) (j ≠ i)
With x = 27.5 the factors (x − xⱼ) are: 1.5, 0.5, −0.5, −1.5, −2.5 for xⱼ = 26, 27, 28, 29, 30.
L₀ = (0.5)(−0.5)(−1.5)(−2.5) / [(−1)(−2)(−3)(−4)] = −0.9375/24 = -0.039062
L₁ = (1.5)(−0.5)(−1.5)(−2.5) / [(1)(−1)(−2)(−3)] = −2.8125/−6 = 0.468750
L₂ = (1.5)(0.5)(−1.5)(−2.5) / [(2)(1)(−1)(−2)] = 2.8125/4 = 0.703125
L₃ = (1.5)(0.5)(−0.5)(−2.5) / [(3)(2)(1)(−1)] = 0.9375/−6 = -0.156250
L₄ = (1.5)(0.5)(−0.5)(−1.5) / [(4)(3)(2)(1)] = 0.5625/24 = 0.023438
| i | xᵢ | f(xᵢ) | Lᵢ(27.5) | f(xᵢ)·Lᵢ |
|---|---|---|---|---|
| 0 | 26 | 3.846 | -0.039062 | -0.150234 |
| 1 | 27 | 3.704 | 0.468750 | 1.736250 |
| 2 | 28 | 3.571 | 0.703125 | 2.510859 |
| 3 | 29 | 3.448 | -0.156250 | -0.538750 |
| 4 | 30 | 3.333 | 0.023438 | 0.078117 |
| Σ | 1.000000 | 3.63624 |
Check: ΣLᵢ = 1.
Answer: f(27.5) ≈ 3.6362 (the data are f = 100/x, and 100/27.5 = 3.6364).
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Lagrange interpolation pseudo-code · Numerical Method, chapter 4 · asked 2×
- Newton interpolation: steam table · Numerical Method, chapter 4
- Lagrange: y at x = 3.0 · Numerical Method, chapter 4
- Newton interpolation: y(3), y(7) · Numerical Method, chapter 4
- Newton interpolation: y(15), y(85) · Numerical Method, chapter 4
- Stirling formula: y(35) · Numerical Method, chapter 4
- Cauchy theorem vs formula; evaluate integral · Applied Mathematics, chapter 1 · asked 4×
- Area by DMD, traverse ABCD (225.28) · Surveying I, chapter 9 · asked 2×
- Rankine's table, IP 2+450 km, 30°, 3° curve · Surveying II, chapter 6
- Horizontal length of 16 m, 29.8850 m tape · Surveying I, chapter 2