0% found this document useful (0 votes)
29 views10 pages

Plantilla Lab 11

The document describes different methods of interpolation including direct interpolation, Lagrange interpolation of second and third order, and Newton's polynomial interpolation. Direct interpolation involves finding the coefficients of a 4th degree polynomial that passes through 5 given data points. Lagrange interpolation of second order uses 3 points to find the coefficients of a 2nd degree Lagrange polynomial. Lagrange interpolation of third order similarly uses 5 points to find the coefficients of a 3rd degree Lagrange polynomial. Newton's polynomial interpolation finds the coefficients of a polynomial based on the values and differences of the given data points.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views10 pages

Plantilla Lab 11

The document describes different methods of interpolation including direct interpolation, Lagrange interpolation of second and third order, and Newton's polynomial interpolation. Direct interpolation involves finding the coefficients of a 4th degree polynomial that passes through 5 given data points. Lagrange interpolation of second order uses 3 points to find the coefficients of a 2nd degree Lagrange polynomial. Lagrange interpolation of third order similarly uses 5 points to find the coefficients of a 3rd degree Lagrange polynomial. Newton's polynomial interpolation finds the coefficients of a polynomial based on the values and differences of the given data points.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 10

INTERPOLACION DIRECTA

x0 x1
X F(X) N P4(X)
0.4 1 0 1.000 0.0256 0.064
2.5 0.5 1 0.500 39.0625 15.625
4.3 2 2 2.000 341.8801 79.507
5 2.6 3 2.599 625 125
6 4 4 3.998 1296 216

INTERPOLACION DIRECTA
F(X) P4(X)
4.5 3.998
4
4
3.5
3 2.599
2.6
2.5 2.000
2
2
1.5 1.000
1
1 0.500
0.5
0.5
0
0 1 2 3 4 5 6 7
x2 x3 c

0.16 0.4 1 C1 1
6.25 2.5 1 C2 0.5
18.49 4.3 1 X C3 = 2
25 5 1 C4 2.6
36 6 1 C5 4

C1 0.02610 X 0.4 2.5 4.3 5.0 6.0 f(X) 1.0 0.5 2.0 2.6 4.0
C2 -0.37609
C3 = 1.98106
C4 -3.68154
C5 2.17905

P4(X)=0,0261*(X)^4 -0,37609*(X)^3 +1,98106*(X)^2 - 3,68154*(X) +2,17905


INTERPOLACION DE LAGRANGE SEGUNDO ORDEN

X F(X) X0 X1 X2
0.4 1 0.4 2.5 4.3
2.5 0.5 0.4 2.5 4.3
4.3 2 0.4 2.5 4.3
5 2.6 0.4 2.5 4.3
6 4 0.4 2.5 4.3
0.4 2.5 4.3
4.5 0.4 2.5 4.3
4 0.4 2.5 4.3
3.5 0.4 2.5 4.3
3 0.4 2.5 4.3
2.5 0.4 2.5 4.3
P(X)
2 F(x) 0.4 2.5 4.3
1.5 0.4 2.5 4.3
1 2.5 4.3 5
0.5 2.5 4.3 5
0 2.5 4.3 5
0 1 2 3 4 5 6 7 4.3 5 6
4.3 5 6
4.3 5 6
4.3 5 6
X F(X0) F(X1) F(X2) L1 L2 L3 P(X)
0.5 1 0.5 2 0.92796093 0.1005291 -0.02849003 0.92124542
0.8 1 0.5 2 0.72649573 0.37037037 -0.0968661 0.71794872
1.1 1 0.5 2 0.54700855 0.59259259 -0.13960114 0.56410256
1.4 1 0.5 2 0.38949939 0.76719577 -0.15669516 0.45970696
1.7 1 0.5 2 0.25396825 0.89417989 -0.14814815 0.4047619
2 1 0.5 2 0.14041514 0.97354497 -0.11396011 0.3992674
2.3 1 0.5 2 0.04884005 1.00529101 -0.05413105 0.44322344
2.6 1 0.5 2 -0.02075702 0.98941799 0.03133903 0.53663004
2.9 1 0.5 2 -0.06837607 0.92592593 0.14245014 0.67948718
3.2 1 0.5 2 -0.09401709 0.81481481 0.27920228 0.87179487
3.5 1 0.5 2 -0.0976801 0.65608466 0.44159544 1.11355311
3.8 1 0.5 2 -0.07936508 0.44973545 0.62962963 1.4047619
4.1 1 0.5 2 -0.03907204 0.1957672 0.84330484 1.74542125
4.4 0.5 2 2.6 -0.01333333 0.9047619 0.10857143 2.08514286
4.7 0.5 2 2.6 -0.02666667 0.52380952 0.50285714 2.34171429
5 0.5 2 2.6 0 0 1 2.6
5.3 2 2.6 4 -0.17647059 1 0.17647059 2.95294118
5.6 2 2.6 4 -0.20168067 0.74285714 0.45882353 3.36336134
5.9 2 2.6 4 -0.07563025 0.22857143 0.84705882 3.8312605
6 2 2.6 4 0 0 1 4
POLINOMIO DE NEWTON

X F(X) N
0.4 1 0
2.5 0.5 1
4.3 2 2
5 2.55 3
6 4 4

INTERPOLAR= 5,2
ITERACION X F(Xi) F(Xi,Xi+1) F(Xi,Xi+1,X2+1)F(Xi,…Xi+3)
1 0.4 1 -0.23809524 0.27472527 -0.06386367
2 2.5 0.5 0.83333333 -0.01904762 0.11708683
3 4.3 2 0.78571429 0.3907563
4 5 2.55 1.45
5 6 4
a1 a2 a3 a4

P4(X)=1 - 0,23809524(X-0) + 0,27472527(X-0)(X-1) - 0,06386367(X-0)(X-1)(X-2) + 0,0

P4(5,2) 2.33929786

2.74725184
F(Xi,…Xi+4
0.03231259

a5

386367(X-0)(X-1)(X-2) + 0,03231259(X-0)(X-1)(X-2)(X-3)
INTERPOLACION DE LAGRANCE TERCER ORDEN

X F(X) NUMER
0 0.2231 0
1 0.6065 1
2 1 2
3 0.6065 3
4 0.2231 4

1 0 0 0 0 0
1 4 1 0 0 0.0303
0 1 4 1 0 = -2.361
0 0 1 4 1 0.0303
0 0 0 0 1 0

B1 0.0000 a1 0.0591 c1
B2 0.1773 a2 -0.2854 c2
B3 = -0.6789 a3 0.2854 c3
B4 0.1773 a4 -0.0591 c4
B5 0.0000 a5 0.0000 c5

1.2
Si(1,5)=-0,3128(1,5-1)^3 + 0,2422(1,5-1)^2 + 0,4641(1,5-1)+0,6065
Si(1,5)= 0.86 1

0.8

0.6

0.4

0.2

0
0
Xi F(Xi) Si(X) ERROR hi
0.00000 0.22310 0.22310 1.00000
0.25000 0.30510
0.50000 0.39264
0.75000 0.49126
1.00000 0.60650 0.60650 1.00000
1.25000 0.73852
1.50000 0.86595
1.75000 0.96203
2.00000 1.00000 1.00000 1.00000
2.25000 0.96203
2.50000 0.86595
2.75000 0.73852
3.00000 0.60650 0.60650 1.00000
3.25000 0.49126
3.50000 0.39264
3.75000 0.30510
0.3243 4.00000 0.22310 0.22310
0.5016
0.0000
-0.5016
0.0000

ajuste de curva
1.2

0.8

0.6

0.4

0.2

0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5
f(x)
splim

3.5 4 4.5

You might also like