Beruflich Dokumente
Kultur Dokumente
DIVIDIDAS
EJERCICIO 1: Ajuste un polinomio de interpolación de Newton de segundo orden para
estimar el log 10, con los datos de la tabla en x = 8, 9 y 11. Y compárelo con el valor exacto
del resultado.
xi f ( xi )
8 0.9030900
9 0.9542425
11 1.0413927
SOLUCIÓN:
0.9542425 - 0.9039
f ( x1 , x0 ) = = 0.0511525
9 -8
1.0413927 - 0.9542425
f ( x2 , x1 ) = = 0.0435751
11 - 9
0.0435751 - 0.0511525
f ( x2 , x1 , x0 ) = = -0.0025258
11 - 8
xi f ( xi )
1.6 2
2 8
2.5 14
3.2 15
4 8
4.5 2
SOLUCIÓN:
12 - 15 10
8-2 f ( x2 , x1 , x0 ) = =-
f ( x1 , x0 ) = = 15 2.5 - 1.6 3
2 - 1.6
10
14 - 8 - 12
f ( x2 , x1 ) = = 12 185
2.5 - 2 f ( x3 , x2 , x1 ) = 7 =-
3.2 - 2 21
15 - 14 10 35 10
f ( x3 , x2 ) = = - -
3.2 - 2.5 7 7 = - 95
8 - 15 -35 f ( x4 , x3 , x2 ) = 4
f ( x4 , x3 ) = = 4 - 2.5 14
4 - 3.2 4 35
-12 +
2-8 4 = -5
f ( x5 , x4 ) = = -12 f ( x5 , x4 , x3 ) =
4.5 - 4 4.5 - 3.2 2
185 10
- +
f ( x3, x2 , x1 , x0 ) = 21 3 = - 575
3.2 - 1.6 168
95 185 85 575
- + +
85
f ( x4 , x3 , x2 , x1 ) = 14 21 = f ( x4 , x3 , x2 , x1 , x0 ) = 84 168 = 1.847718
4-2 84 4 - 1.6
5 95 15 85
- + -
2 14 15 7 84 = 23
f ( x5 , x4 , x3 , x2 ) = = f ( x5 , x4 , x3 , x2 , x1 ) =
4.5 - 2.5 7 4.5 - 2 21
23
- 1.847718
f ( x5 , x4 , x3 , x2 , x1 , x0 ) = 21 = -0.259476
4.5 - 1.6
f 6 (x)=2+15*(x-1.6)-3.3333*(x-1.6)*(x-2)-3.4226*(x-1.6)*(x-2)*(x-2.5)
+1.8477*(x-1.6)*(x-2)*(x-2.5)*(x-3.2)-0.48115*(x-1.6)*(x-2)*(x-2.5)*(x-3.2)*(x-4)
f 5 ( 2.8) = 15.5354218
Ahora haciendo uso del guide programado en Matlab:
EJERCICIO 3: Del problema anterior, calcular los polinomios interpoladores de grado 2,
3 y 4 respectivamente y evaluar en el instante t=2.4 y comparar los resultados entre sí:
SOLUCIÓN:
10 575
f3 ( x) = 2 + 15 * ( x - 1.6) - ( x - 1.6 ) * ( x - 2 ) - ( x - 1.6 ) * ( x - 2 ) * ( x - 2.5 )
3 168
10 185 575
f 4 ( x ) = 15 + ( x - 3.2 ) - ( x - 3.2 ) * ( x - 2.5 ) - ( x - 3.2 ) * ( x - 2.5 ) * ( x - 2 )
7 21 168
f 2 ( 2.4 ) = 12.93333
f 3 ( 2.4 ) = 13.042912
f 4 ( 2.4 ) = 13.090235
Cómo se puede observar, mientras más puntos son utilizados en el polinomio, nos vamos
aproximando mejor a la respuesta exacta, cabe resaltar que los puntos a utilizar deben ser
más cercanos al punto que se desea predecir su valor f(x):
POLINOMIO DE GRADO 2
POLINOMIO DE GRADO 3
POLINOMIO DE GRADO 4