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)=7, represents a second degree polynomial. Obtain this polynomial using interpolation and find f(2,5).
Solution.
We have:
Δx=1Δf1=f(−2)−f(−3)=7−13=−6Δf2=f(−1)−f(−2)=3−7=−4Δf3=f(0)−f(−1)=1−3=−2Δf4=f(1)−f(0)=1−1=0Δf5=f(2)−f(1)=3−1=2Δf6=f(3)−f(2)=7−3=4Δ2f=Δf2−Δf1=Δf3−Δf2=Δf4−Δf3=Δf5−Δf4=Δf6−Δf5=2
Since Δ3f=0 then we have second degree polynomial of the form:
f(x)=a2x2+a1x+a0
Then:
Δf=2a2x(Δx)+a2(Δx)2+a1(Δx)Δ2f=2a2(Δx)2Δ2f=2a2⋅1=2⇒a2=1Δf4=1⋅1+a1⋅1=0⇒a1=−1f(0)=a0=1Answer:
f(x)=x2−x+1f(2.5)=2.52−2.5+1=4.75
Answer provided by https://www.AssignmentExpert.com