Está en la página 1de 3

UNIDAD 4

INTERPOLACION
CASO I-El polinomio pasa por todos lo datos
Polinomica por minimo cuadrados

r(m) V(m/s) Interpolación p


x y P(x)
1.4
-0.25 0.44379173 0.44379173
1.2
0 1 1
0.2 1.23125605 1.23125605 1
0.35 1.00198504 1.00198504 0.8

y
0.5 0.19228365 0.19228365 0.6
0.1 1.16836799 0.4
0.2
Matriz x:
0
-0.3 -0.2 -0.1 0 0.1
1 -0.25 0.0625 -0.015625 0.00390625
1 0 0 0 0
x= 1 0.2 0.04 0.008 0.0016
1 0.35 0.1225 0.042875 0.01500625
1 0.5 0.25 0.125 0.0625

Traspuesta de la Mtriz x

1 1 1 1 1
-0.25 0 0.2 0.35 0.5
xt 0.0625 0 0.04 0.1225 0.25
-0.015625 0 0.008 0.042875 0.125
0.00390625 0 0.0016 0.01500625 0.0625

Primer factor:

1 -5.85714286 -9.42857143 91.4285714 -114.285714


-5.85714286 180.547621 -137.642209 -2643.8782 4504.25116
(xt*x)-1= -9.42857143 -137.642209 489.026175 1951.1839 -4670.47768
91.4285714 -2643.8782 1951.1839 40123.58 -68648.1715
-114.285714 4504.25116 -4670.47768 -68648.1715 122720.964

Matriz y

0.44379173
1
y= 1.23125605
1.00198504
0.19228365

Segundo factor:

3.86931647
0.58213987
(xt+y)= 0.24780131
0.06991137
0.03075734

Coeficientes del polinomio

1 a0
2.03454077 a1
𝑃(𝑥)=𝑎_0+𝑎_1 𝑥+𝑎_2 𝑥^2+𝑎_3 𝑥^3+𝑎_4 𝑥^4
(xt*x)-1*(xt+y)= -2.66934211 a2
-8.17553082 a3
-2.17135764 a4

P(x)
Interpolación polinómica CASO I
1.4 1.4
1.2 1.2
1 1
0.8 0.8 P(x)
0.6 0.6 y

0.4 0.4
0.2 0.2
0 0
-0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6
x

También podría gustarte