Question #74946

using finite difference, show that the data f(-3)=13, f(-2)=7,f(-1)=3,f(0)=1,f(1)=1,f(2)=3,f(3)=7. represents a second degree polynomial. obtain this polynomial using interpolation and find f(2.5).

Expert's answer

Answer to Question #74946, Math / Quantitative Methods

Using finite difference, show that the data f(3)=13,f(2)=7,f(1)=3,f(0)=1,f(1)=1,f(2)=3,f(3)=7f(-3) = 13, f(-2) = 7, f(-1) = 3, f(0) = 1, f(1) = 1, f(2) = 3, f(3) = 7, represents a second degree polynomial. Obtain this polynomial using interpolation and find f(2,5)f(2,5).

Solution.

We have:


Δx=1\Delta x = 1Δf1=f(2)f(3)=713=6\Delta f _ {1} = f (- 2) - f (- 3) = 7 - 13 = -6Δf2=f(1)f(2)=37=4\Delta f _ {2} = f (- 1) - f (- 2) = 3 - 7 = -4Δf3=f(0)f(1)=13=2\Delta f _ {3} = f (0) - f (- 1) = 1 - 3 = -2Δf4=f(1)f(0)=11=0\Delta f _ {4} = f (1) - f (0) = 1 - 1 = 0Δf5=f(2)f(1)=31=2\Delta f _ {5} = f (2) - f (1) = 3 - 1 = 2Δf6=f(3)f(2)=73=4\Delta f _ {6} = f (3) - f (2) = 7 - 3 = 4Δ2f=Δf2Δf1=Δf3Δf2=Δf4Δf3=Δf5Δf4=Δf6Δf5=2\Delta^ {2} f = \Delta f _ {2} - \Delta f _ {1} = \Delta f _ {3} - \Delta f _ {2} = \Delta f _ {4} - \Delta f _ {3} = \Delta f _ {5} - \Delta f _ {4} = \Delta f _ {6} - \Delta f _ {5} = 2


Since Δ3f=0\Delta^3 f = 0 then we have second degree polynomial of the form:


f(x)=a2x2+a1x+a0f (x) = a _ {2} x ^ {2} + a _ {1} x + a _ {0}


Then:


Δf=2a2x(Δx)+a2(Δx)2+a1(Δx)\Delta f = 2 a _ {2} x (\Delta x) + a _ {2} (\Delta x) ^ {2} + a _ {1} (\Delta x)Δ2f=2a2(Δx)2\Delta^ {2} f = 2 a _ {2} (\Delta x) ^ {2}Δ2f=2a21=2a2=1\Delta^ {2} f = 2 a _ {2} \cdot 1 = 2 \Rightarrow a _ {2} = 1Δf4=11+a11=0a1=1\Delta f _ {4} = 1 \cdot 1 + a _ {1} \cdot 1 = 0 \Rightarrow a _ {1} = - 1f(0)=a0=1f (0) = a _ {0} = 1

Answer:

f(x)=x2x+1f (x) = x ^ {2} - x + 1f(2.5)=2.522.5+1=4.75f (2. 5) = 2. 5 ^ {2} - 2. 5 + 1 = 4. 7 5


Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS