Question #74146
Derive a suitable numerical differentiation formula of 0(h2) to find f′(2.4) with h=0.1 given the table f(0.1)=3.41, f(1.2)=2.68, f(2.4)=1.37, f(3.9)=−1.48.
Answer:
Using Taylor Expansion technique:
f(x+h)=f(x)+hf′(x)+2!h2f′′(x)+3!h3f′′′(x)+4!h4f(4)(x)…,f(x−h)=f(x)−hf′(x)+2!h2f′′(x)−3!h3f′′′(x)+4!h4f(4)(x)….
Thus
f(x+h)+f(x−h)=2f(x)+h2f′′(x)+12h4f(4)(x)+…,f(x+h)+f(x−h)−2f(x)=h2f′′(x)+12h4f(4)(x)+…,h2f(x+h)+f(x−h)−2f(x)=f′′(x)+12h2f(4)(x)+…,h2f(x+h)+f(x−h)−2f(x)=f′′(x)+O(h2).
So
f′′(x)≈h2f(x+h)+f(x−h)−2f(x)
with truncation error of order O(h2).
For x=2.4 and h=0.1
f(2.4)=1.37,f(2.4+0.1)=f(2.5)=1.37−(1.37+1.48)3.9−2.42.5−2.4=1.18,f(2.4−0.1)=f(2.3)=1.37+(2.68−1.37)2.4−1.22.4−2.3=1.48,f′′(x)=0.121.18+1.48−2⋅1.37=−8.
Answer provided by https://www.AssignmentExpert.com