Professional Documents
Culture Documents
REGRESIN EXPONENCIAL
Punto No 1:
Dados los datos
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:
Polinomio de orden 3:
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
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