Está en la página 1de 5

Tarea de Interpolación

Aguilar de Vicente Gustavo Angel 2MM1

a) 18.5

Dados los datos

X 1.6 2 2.5 3.2 4 4.5


F(x) 2 8 14 15 8 2

1.- Calcule f (2.8) con el uso de polinomios de interpolación de Newton de grados de


1 a 3. Elija la secuencia de puntos más apropiada para alcanzar la mayor exactitud
posible para sus estimaciones.

2.- Utilice la ecuación 18.18 para estimar el error de cada predicción.

I x F (x)
0 1.6 2
1 2 8
2 2.5 14
3 3.2 15
4 4 8
5 4.5 2

Polinomios de Interpolación de Newton

1er orden/1er grado


( x¿¿ o) 8−(2)
f ( x 1 , x 0 ) =f ( x¿¿ 1)−f = =15 ¿ ¿
x 1−x 0 2−(1.6)

14−( 8 )
f ( x2 , x1)= =12
2.5−( 2 )

15−( 14 )
f ( x 3 , x2 ) = =1.428571429
3.2−( 2.5 )

8−( 15 )
f ( x 4 , x 3 )= =−8.75
4−( 3.2 )

2−( 8 )
f ( x 5 , x 4 )= =−12
4.5−( 4 )
2da orden
f ( x 2 , x 1 )−f (x 1 , x 0) 12−( 15 )
f ( x 2 , x 1 , x0 ) = = =−3.333333333
x 2−x 0 2.5−(1.6)

1.428571429−( 12 )
f ( x 3 , x2 , x1 ) = =−8.809523809
3.2−(2)

−8.75−( 1.428571429 )
f ( x 4 , x 3 , x 2 )= =−6.785714286
4−(2.5)
−12− (−8.75 )
f ( x 5 , x 4 , x 3 )= =−2.5
4.5−(3.2)

3er orden
f ( x 3 , x 2 , x 1 )−f ( x 2 , x 1 , x 0 ) −8.809523809−(−3.333333333 )
f ( x 3 , x2 , x1 , x 0 )= = =−3.422619048
x3 −x 0 3.2−( 1.6)

−6.785714286−(−8.809523809 )
f ( x 4 , x 3 , x 2 , x 1 )= =1.011904762
4−(2)
−2.5−(−6.785714286 )
f ( x 5 , x 4 , x 3 , x 2 )=¿ =2.142857143
4.5−(2.5)

i X f(x 1er orden 2do orden 3er orden


)
0 1.6 2
1 2 8 15
2 2.5 14 12 -3.333333333
3 3.2 15 1.428571429 -8.809523809 -3.422619048
4 4 8 -8.75 -6.785714286 1.011904762
5 4.5 2 -12 -2.5 2.142857143

P3 ( x ) =f ( x 0 ) + f ( x 0 , x1 ) ( x−x 0 ) + f ( x 0 , x 1 , x 2 )( x−x 0 )( x −x1 ) + f (x 0 , x 1 , x 2 , x 3 )(x−x 0)(x −x1 )(x−x 2)

P3 ( 2.8 )=2+15 ( x−1.6 ) + (−3.333333333 ) ( x−1.6 ) ( x−2 ) +(−3.422619048)( x−1.6)(x −2)(x−2.5)

P3 ( 2.8 )=2+15 x−24+ (−3.333333333 ) ( x 2−3.6 x +3.2 ) +(−3.422619048)¿


2 3 2
P3 ( 2.8 )=−2 2+15 x−3.333333333 x +12 x +10.666666667−3.422619048 x +208.7797619 x −41.75595239 x+27.3809
3 2
P3 ( 2.8 )=−3.422619048 x −205.4464286 x −14.75595239 x +16.04761905
3 2
P3 ( 2.8 )=−3.422619048(2.8) −205.4464286(2.8) −14.75595239 (2.8)+ 16.04761905

P3 ( 2.8 )=−75.1333333334−1610.7−41.316666669+16.04761905

P3 ( 2.8 )=−1711.102381

2.-
Rn =f [ x n+1 , xn , x n−1 , … , x 0]( x−x 0)( x−x n−1 )(x−x n)

Estimando el error en la interpolación


R1=f [ x2 , x1 , x 0 ] ( x−x 0 ) ( x−x 1 )=−3.2

R2=f [ x3 , x 2 , x 1 x 0 ] ( x −x 0 )( x −x1 ) ( x−x 2 )=−0.9857142858

b) 18.6

Dados los datos

X 1 2 3 5 7 8
F(x) 3 6 19 99 291 444

Calcule f (4) con el uso de polinomios de interpolación de Newton de grados 1 a 4.


Elija los puntos base para obtener una buena exactitud. ¿Qué indican los
resultados en relación con el grado del polinomio que se emplea para generar los
datos de la tabla?

I x F (x)
0 11 3
1 2 6
2 3 19
3 5 99
4 7 291
5 8 444

Polinomios de Interpolación de Newton

1er orden/1er grado


( x¿¿ o) 6−(3)
f ( x 1 , x 0 ) =f ( x¿¿ 1)−f = =−0.333333333¿ ¿
x 1−x 0 2−(11)
19−( 6 )
f ( x2 , x1 )= =13
3−( 2 )

99−( 19 )
f ( x 3 , x2 ) = =40
5−( 3 )

291−( 99 )
f ( x 4 , x 3 )= =96
7−( 5 )

444−(291)
f ( x 5 , x 4 )= =153
8−( 7 )

2da orden
f ( x 2 , x 1 )−f (x 1 , x 0) 13− (−0.333333333 )
f ( x 2 , x 1 , x0 ) = = =−1.666666667
x 2−x 0 3−( 11)

40−(13)
f ( x 3 , x2 , x1 ) = =9
5−(2)

96−(40)
f ( x 4 , x 3 , x 2 )= =14
7−(3)

153−( 96 )
f ( x 5 , x 4 , x 3 )= =19
8−(5)

3er orden
f ( x 3 , x 2 , x 1 )−f ( x 2 , x 1 , x 0 ) 9−(−1.666666667 )
f ( x 3 , x2 , x1 , x 0 )= = =−1.777777778
x3 −x 0 5−(11)

14−(9)
f ( x 4 , x 3 , x 2 , x 1 )= =1
7−( 2)

19− ( 14 )
f ( x 5 , x 4 , x 3 , x 2 )=¿ =1
8−(3)

4er orden
f ( x 4 x 3 , x2 , x1 ) −f ( x3 x 2 , x 1 , x 0) 1−(−1. 7 77777778 )
f ( x4 , x3 , x2 , x1 , x0 )= = =−0.694444444
x 4−x 0 7−(11)

1−( 1 )
f ( x 5 , x 4 , x 3 , x 2 , x 1 )= =0
8−(2)

i X f(x 1er orden 2do orden 3er orden 4to orden


)
0 11 3
1 2 9 -0.333333333
2 3 19 13 -1.666666667
3 5 99 40 9 -1.777777778
4 7 291 96 14 1 -0.694444444
5 8 44 153 19 1 0
4

P4 ( x )=f ( x0 ) + f ( x 0 , x 1 ) ( x−x 0 ) +f ( x 0 , x1 , x2 ) ( x−x 0 ) ( x−x 1 ) +f ( x 0 , x1 , x2 , x3 ) ( x−x 0 ) ( x−x 1 ) ( x−x 2 ) +f ( x 0 , x1 , x 2 , x 3 , x 4 ) ( x −x

P4 ( 4 )=3+ (−0.333333333 ) ( x −11 )+ (−1.666666667 )( x−11 ) ( x−2 ) + (−1.77777777 8 ) ( x−11 )( x−2 )( x−3 )+(−0.69444444
2 3 2
P4 ( 4 )=3−0.333333333 x+ 3.666666663+ (−1.666666667 ) ( x −13 x+22)+ (−1.777777778 ) ( x −16 x + 61 x−66)+(−0.6

2 3
P4 ( 4 )=3−0.333333333 x+ 3.666666663−1.666666667 x +21.666666666 x−36.666666666−1.777777777 x +28.44444

P4 ( 4 )=−0.694444444 x 4 +12.805555555 x 3−71.138888888 x 2+ 170.527777777 x−149.1666666666


4 3 2
P4 ( 4 )=−0.694444444 ( 4 ) +12.805555555 ( 4 ) −71.138888888 ( 4 ) +170.527777777(4)−149.1666666666

P4 ( 4 )=36.5000000000

c) 18.7

Vuelva a hacer el problema 18.6 con el uso de polinomios de Langrage de grados 1 a


3.

También podría gustarte