Question #74945

a table of values is to be constructed for the function f(x) =1 /1+x in the interval [1,4] with equal step length. determine the spacing h such that quadratic interpolation gives result with accuracy 1×10 - 6

Expert's answer

Answer to Question #74945, Math / Quantitative Methods

A table of values is to be constructed for the function f(x)=1/(1+x)f(x) = 1 / (1 + x) in the interval [1,4] with equal step length. Determine the spacing hh such that quadratic interpolation gives result with accuracy 1×1061 \times 10^{-6}

Solution.

The error is


Rn(x)h393maxx[a,b]f(x)\left| R _ {n} (x) \right| \leq \frac {h ^ {3}}{9 \sqrt {3}} \max _ {x \in [ a, b ]} \left| f ^ {\prime \prime \prime} (x) \right|


We have:


f(x)=1(1+x)2f ^ {\prime} (x) = - \frac {1}{(1 + x) ^ {2}}f(x)=2(1+x)3f ^ {\prime \prime} (x) = \frac {2}{(1 + x) ^ {3}}f(x)=6(1+x)4f ^ {\prime \prime \prime} (x) = - \frac {6}{(1 + x) ^ {4}}maxx[1,4]f(x)=f(1)=6(1+1)4=616=38\max _ {x \in [ 1, 4 ]} | f ^ {\prime \prime \prime} (x) | = | f ^ {\prime \prime \prime} (1) | = \left| - \frac {6}{(1 + 1) ^ {4}} \right| = \frac {6}{1 6} = \frac {3}{8}


Then:


Rn(x)38h393\left| R _ {n} (x) \right| \leq \frac {3}{8} \cdot \frac {h ^ {3}}{9 \sqrt {3}}38h393=106\frac {3}{8} \cdot \frac {h ^ {3}}{9 \sqrt {3}} = 1 0 ^ {- 6}


Answer:


h=89331063=2100333=0.03464h = \sqrt [ 3 ]{\frac {8 \cdot 9 \sqrt {3}}{3} \cdot 1 0 ^ {- 6}} = \frac {2}{1 0 0} \sqrt [ 3 ]{3 \sqrt {3}} = 0. 0 3 4 6 4


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