Unit 4: Interpolation and Extrapolation

advertisement
Unit 4: Interpolation and Extrapolation
Binomial Expansion
The steps are as follows:
1. Find the number of known values (n) of dependent variable Y.
2. For the two missing values, first take
βˆ†π‘›0 = 0 π‘‘β„Žπ‘Žπ‘‘ 𝑖𝑠 (𝑦 − 1) 𝑛 = 0
And βˆ†1𝑛 = 0
is written by increasing the suffix value by one in
βˆ†π‘›0 = 0
3. The left hand side of the equation is expanded using the binomial expansion. Suppose 4 values
of Y are known, 4th order (leading) difference will be zero.
βˆ†40 = 0
(𝑦 − 1) 4 = 𝑦4 − 4𝑦3 + 6𝑦2 − 4𝑦2 + 𝑦0 = 0
We get one missing value within the range of the data.
4. To get the other missing value, the same binomial expansion as in case of
βˆ†40 = 0 Is written with suffixes of each ‘raised by 1.
𝑦5 − 4𝑦4 + 6𝑦3 − 4𝑦2 + 𝑦1 = 0
The successive numerical co-efficient of ‘y’ can be obtained using binomial coefficients table or y the
formula
π‘‡β„Žπ‘’ πΆπ‘œπ‘’π‘“π‘“π‘–π‘π‘’π‘›π‘‘ π‘œπ‘“ π‘π‘Ÿπ‘’π‘£π‘–π‘œπ‘’π‘  𝑦 × π‘ π‘’π‘“π‘“π‘–π‘₯ π‘œπ‘Ÿ π‘π‘Ÿπ‘’π‘£π‘–π‘œπ‘’π‘  𝑦
π‘†π‘’π‘žπ‘’π‘’π‘›π‘‘π‘–π‘Žπ‘™ π‘œπ‘Ÿπ‘‘π‘’π‘Ÿ π‘œπ‘“ π‘π‘Ÿπ‘’π‘£π‘–π‘œπ‘’π‘  π‘‘π‘’π‘Ÿπ‘š
The numerical coefficient of the first term will be always 1.
Newton’s Advancing Difference Method
𝑦π‘₯ = 𝑦0 + π‘₯βˆ†10 +
π‘₯=
π‘₯(π‘₯ − 1)
2!
2
0
+
π‘₯(π‘₯ − 1)(π‘₯ − 2)
3!
3
0+
π‘₯(π‘₯ − 1)(π‘₯ − 2)(π‘₯ − 3)
4!
π‘‘β„Žπ‘’ π‘£π‘Žπ‘™π‘’π‘’ π‘œπ‘“ 𝑋 π‘‘π‘œ 𝑏𝑒 π‘–π‘›π‘‘π‘’π‘Ÿπ‘π‘œπ‘™π‘Žπ‘‘π‘’π‘‘ − π‘£π‘Žπ‘™π‘’π‘’ π‘œπ‘“ 𝑋 π‘Žπ‘‘ π‘œπ‘Ÿπ‘–π‘”π‘–π‘›
π·π‘–π‘“π‘“π‘’π‘Ÿπ‘’π‘›π‘’ 𝑏𝑒𝑑𝑀𝑒𝑒𝑛 π‘‘π‘€π‘œ π‘Žπ‘‘π‘—π‘œπ‘–π‘›π‘–π‘›π‘” π‘£π‘Žπ‘™π‘’π‘’π‘  π‘œπ‘“ 𝑋
π‘₯=
π‘‘β„Žπ‘’ π‘¦π‘’π‘Žπ‘Ÿ π‘œπ‘“ π‘–π‘›π‘‘π‘’π‘Ÿπ‘π‘œπ‘™π‘Žπ‘‘π‘–π‘œπ‘› − π‘‘β„Žπ‘’ π‘¦π‘’π‘Žπ‘Ÿ π‘œπ‘“ π‘œπ‘Ÿπ‘–π‘”π‘–π‘›
π·π‘–π‘“π‘“π‘’π‘Ÿπ‘’π‘›π‘π‘’ 𝑏𝑒𝑑𝑀𝑒𝑒𝑛 π‘‘π‘€π‘œ π‘Žπ‘‘π‘—π‘œπ‘–π‘›π‘–π‘›π‘” π‘¦π‘’π‘Žπ‘Ÿπ‘ 
Download