You are on page 1of 2

MTODOS NUMRICOS

REGRESIN EXPONENCIAL

Punto No 1:
Dados los datos

Calcule f(2.8) con el uso de polinomios de interpolacin de Newton de rdenes de 1 a 3.

Solucin:

xk yk f1 f2 f3 f4 f5
1.6 2 15 -3.33333 -3.42262 1.847719 -0.481151
2.0 8 12 -8.80952 1.011905 0.45238
2.5 14 1.42857 -6.78571 2.142855
3.2 15 -8.75 -2.5
4.0 8 -12
4.5 2

Polinomio de orden 1:

P1 ( x) = 2 + 15( x 1.6)
f (2.8) P1 (2.8) = 20

Polinomio de orden 2:

P2 ( x) = 2 + 15( x 1.6) 3.33333( x 1.6)( x 2)


f (2.8) P2 (2.8) = 16.8

Polinomio de orden 3:

P3 ( x) = 2 + 15( x 1.6) 3.33333( x 1.6)( x 2) 3.42262( x 1.6)( x 2)( x 2.5)


f (2.8) P3 (2.8) = 15.814288
Punto No 2:
Considere los puntos (1;3), (2;4), (3;2) y (5;1). Determine el polinomio de Newton y el de
Lagrange. Calcule el valor que se obtiene al evaluar x = 0.

Solucin:

Polinomio de Newton:

xk f(xk) f1 f2 f3
1 3 1 -1.5 0.5
2 4 -2 0.5
3 2 -0.5
5 1

P3 ( x) = 3 + 1( x 1) 1.5( x 1)( x 2) + 0.5( x 1)( x 2)( x 3)


f (0) P3 (0) = 4

Polinomio de Lagrange:

k xk f(xk)
0 1 3
1 2 4
2 3 2
3 5 1

k =3
x 2 x 3 x 5
Debemos obtener P3 ( x) = f ( xk ) Lk ( x) , donde: L0 ( x) =
k =0 1 2 1 3 1 5
x 1 x 3 x 5
L1 ( x ) =
2 1 2 3 2 5
x 1 x 2 x 5
L2 ( x) =
3 1 3 2 3 5
x 1 x 2 x 3
L3 ( x ) =
5 1 5 2 5 3

k =3
1 3 9 2
P3 ( x ) = f ( xk ) Lk ( x ) = 4 L0 ( x) + 3 L1 ( x ) + 2 L2 ( x) + 1 L3 ( x ) = x x + 11x 4
k =0 2 2
1 3 9 2
P3 ( x) = x x + 11x 4 f (0) P3 (0) = 4
2 2

You might also like