Professional Documents
Culture Documents
https://nm.mathforcollege.com/
Welcome!!
Learning Outcomes
After the lecture, you will know about
• Why interpolation is used.
• Interpolation in different curves.
What is Interpolation ?
Given (x0,y0), (x1,y1), …… (xn,yn), find the value of ‘y’ at a
value of ‘x’ that is not given.
Evaluate
Differentiate, and
Integrate
Direct Method
y a0 a1 x .................... an x n .
v 20 a 0 a1 20 517.35 x0 , y0
f1 x
Hence
v t 100.93 30.914t , 15 t 20.
v16 100.93 30.91416 393.7 m/s
Example 2 The upward velocity of a rocket is given as a function of time
in Table 1.
Find the velocity at t=16 seconds using the direct method for
quadratic interpolation.
v t a0 a1t a2t 2 x1 , y1
f 2 x
v 20 a0 a1 20 a2 20 517.35
2
x0 , y0
ys
f x desired 350
250
227.04 200
10 12 14 16 18 20
10 x s range x desired 20
x3 , y3
v t a0 a1t a2t 2 a3t 3
x1 , y1
v10 227.04 a0 a1 10 a2 10 a3 10
2 3
f3 x
x2 , y2
v15 362.78 a0 a1 15 a2 15 a3 15
2 3
x0 , y0
v 20 517.35 a0 a1 20 a2 20 a3 20
2 3 x
392.06 m/s
700
602.97
ys
f ( range)
500
second and third order polynomial is
f x desired
400
392.06 392.19
a 100
392.06
300
227.04 200
10
10
12 14 16 18
x s range x desired
20 22 24
22.5
0.033269%
Comparison Table
Table 4 Comparison of different orders of the polynomial.
Order of
t(s) v (m/s) 1 2 3
Polynomial
0 0
v t 16 m/s 393.7 392.19 392.06
10 227.04
15 362.78 Absolute Relative
---------- 0.38410 % 0.033269 %
Approximate Error
20 517.35
22.5 602.97
30 901.67
Distance from Velocity Profile
Find the distance covered by the rocket from t=11s to t=16s ?
v t 4.3810 21.289t 0.13064t 2 0.0054606t 3 , 10 t 22.5
16
s 16 s11 v t dt
11
16
4.2540 21.266t 0.13204t 2 0.0054347t 3 dt
11
16
t2 t3 t4
4.2540t 21.266 0.13204 0.0054347
2 3 4 11
1605 m
Acceleration from Velocity Profile
Find the acceleration of the rocket at t=16s given that
t 4.2540 21.266t 0.13204 2 0.0054347t 3 ,10 t 22.5
d
a t v t
dt
d
dt
4.2540 21.266t 0.13204t 2 0.0054347t 3
21.289 0.26130t 0.016382t 2 , 10 t 22.5
29.665 m/s 2
Review Question
• The following data come from a table that was measured with high pr
ecision. Use the best numerical method (for this type of problem) to
determine y at x = 3.5. Note that a polynomial will yield an exact valu
e. Your solution should prove that your result is exact.