Question #214709

How do I complete compute f(0.3) for the data x 0 1 3 4 7 f 1 3 49 129 813 using Lagrange's interpolation formula?

1
Expert's answer
2021-07-12T03:09:22-0400

The given table is

x = 0, 1, 3, 4, 7

f(x)= 1, 3, 49 , 129, 813

f(x)=(xx1)(xx2)(xx3)(xx4)(xox1)(xox2)(xox3)(xox4)fo+...(xxo)(xx1)(xx2)(xx3)(x4x0)(x4x1)(x4x2)(x4x3)f4\Rightarrow f(x)=\frac{(x-x_1)(x-x_2)(x-x_3)(x-x_4)}{(x_o-x_1)(x_o-x_2)(x_o-x_3)(x_o-x_4)}f_o+...\frac{(x-x_o)(x-x_1)(x-x_2)(x-x_3)}{(x_4-x_0)(x_4-x_1)(x_4-x_2)(x_4-x_3)}f_4


f(x)=(0.31)(0.33)(0.34)(0.37)(1)(3)(4)(7)1+(0.30)(0.33)(0.34)(0.37)(1)(2)(3)(6)3\Rightarrow f(x)=\frac{(0.3-1)(0.3-3)(0.3-4)(0.3-7)}{(-1)(-3)(-4)(-7)}1+\frac{(0.3-0)(0.3-3)(0.3-4)(0.3-7)}{(1)(-2)(-3)(-6)}3


+(0.31)(0.33)(0.34)(0.37)(3)(2)(1)(4)49+(0.31)(0.33)(0.33)(0.37)(4)(3)(1)(3)129+\frac{(0.3-1)(0.3-3)(0.3-4)(0.3-7)}{(3)(2)(-1)(-4)}49+\frac{(0.3-1)(0.3-3)(0.3-3)(0.3-7)}{(4)(3)(1)(-3)}129


(0.30)(0.31)(0.33)(0.34)(7)(6)(4)(3)813\frac{(0.3-0)(0.3-1)(0.3-3)(0.3-4)}{(7)(6)(4)(3)}813


After solving, we will get 1.831


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!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS