8.4 Interpolation: Author: Harold Jan R. Terano, ECE, MET
8.4 Interpolation: Author: Harold Jan R. Terano, ECE, MET
8.4 Interpolation: Author: Harold Jan R. Terano, ECE, MET
8.4 Interpolation
The general formula for an th order polynomial is,
Example 1:
Consider the data which represent values of current at given voltages.
V (volts) I (ampere)
20 0.0524
23 0.2512
25 0.3204
Determine the value of the current when the voltage is 22 V. Use linear and
parabolic interpolation.
Solution:
For linear interpolation:
From the table:
129
At ,
At ,
130
Author: Harold Jan R. Teran
CHAPTER 8 NUMERICAL METHODS
Example 2:
Estimate the natural logarithm of 2 given and
. Use linear and quadratic interpolation.
Solution:
The data is given as,
1 0
4 1.386294
6 1.791759
When
By linear interpolation, .
For quadratic interpolation:
When
Exercise 8.5
Solve the following problems.
1. Given the table representing the density of air at a given temperature.
kg/m3
0 1.29
20 1.20
50 1.09
1.45 122.45
3.24 194.23
4.65 223.16
132
Author: Harold Jan R. Teran