










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The lagrangian interpolation method, which is used to find the value of a function at a given point based on its values at other points. Linear, quadratic, and cubic interpolation, and provides examples using a rocket velocity dataset. It also discusses the concept of interpolating polynomials and weighting functions.
Typology: Slides
1 / 18
This page cannot be seen from the preview
Don't miss anything!











Lagrangian Interpolation
n
i
0
given at ( n + 1 ) data points as ( x (^) 0 , y 0 ) (, x 1 , y 1 ),......, ( xn − 1 , yn − 1 ) (, xn , yn ), and
∏ ≠
n
j i
j (^) i j
j i
0
(s) (m/s)
0 0 10 227. 15 362. 20 517. 22.5 602. 30 901.
≠
= −
1
0
(^0 )
0 () j
j (^) j
j t t
t t L t 0 1
1 t t
t t
−
≠
= −
1
1
(^0 )
1 ( ) j
j (^) j
j t t
t t L t 1 0
0 t t
t t
−
( ) ( ) ( 1 ) 1 0
0 0 0 1
(^1) v t t t
t t v t t t
t t v t −
−
−
− = ( 517. 35 ) 20 15
15 ( 362. 78 ) 15 20
20 −
−
−
t t
( 517. 35 ) 20 15
16 15 ( 362. 78 ) 15 20
16 20 ( 16 ) −
−
−
− v =
= 0. 8 ( 362. 78 )+ 0. 2 ( 517. 35 )
For the second order polynomial interpolation (also called quadratic interpolation), we
choose the velocity given by
=
=
2
0
( ) ( ) ( ) i
v t Li t vti
= L 0 (^) ( t ) v ( t 0 )+ L 1 ( t ) v ( t 1 )+ L 2 ( t ) v ( t 2 )
This image cannot currently be displayed.
(^20010 12 14 16 18 )
250
300
350
400
450
500
517.35^550
y (^) s f range( ) f x( (^) desired)
10 x (^) s , range,x (^) desired 20
≠
2
0 (^0 )
j j (^) j
j
0 2
2 0 1
1
≠
2
1 (^0 )
j j (^) j
j
1 2
2 1 0
0
≠
2
2 (^0 )
j j (^) j
j
2 1
1 2 0
0
Quadratic Interpolation (contd)
( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
( )( ) ( )( ) ( )( )
19 m/s
08 227. 04 0. 96 362. 78 0. 12 527. 35
35 20 15
16 15
20 10
16 10
16 20
15 10
16 10
16 20
10 15
16 15 16
2 2 1
1
2 0
0 1 1 2
2
1 0
0 0 0 2
2
0 1
1
=
= − + +
−
−
−
− +
−
−
−
− +
−
−
−
−
−
−
−
−
−
−
−
−
−
−
v
v t t t
t t
t t
t t vt t t
t t
t t
t t vt t t
t t
t t
t t v t
The absolute relative approximate error obtained between the results from the first and second order polynomial is
∈ a
100
19
19 393. 70
=
×
− ∈ a =
(s) (m/s)
0 0 10 227. 15 362. 20 517. 22.5 602. 30 901.
t (^) o = 10 , v ( t (^) o ) = 227. 04 t 1 = 15 , v ( t 1 ) = 362. 78
≠
3
0 (^0 )
j j (^) j
j
0 3
3 0 2
2 0 1
1
≠
3
1 (^0 )
j j (^) j
j
1 3
3 1 2
2 1 0
0
≠
3
2 (^0 )
j j (^) j
j
2 3
3 2 1
1 2 0
0
≠
3
3 (^0 )
j j (^) j
j
3 2
2 3 1
1 3 0
0
300
400
500
600
602.97^700
y (^) s f range( ) f x( (^) desired)
10 x (^) s , range,x (^) desired 22.
( ) 4. 245 21. 265 0. 13195 0. 00544 , 2 3 v t = − + t + t + t 10 ≤ t ≤ 22. 5
16
11
s ( 16 ) s ( 11 ) v ( t ) dt
16
11
( 4. 245 21. 265 t 0. 13195 t^2 0. 00544 t^3 ) dt
16 11
2 3 4 ] 4
00544 3
13195 2
[ 4. 245 21. 265
t t t = − t + + +
= 1605 m
3 2 3 2
3 2 3 2