Está en la página 1de 4

Desafío 3

∞ −t
e
La función y=∫ dt está dada por la tabla:
x t

x 0 0.01 0.02 0.03 0.04 0.05 0.06


y ∞ 4.0379 3.3547 2.9591 2.6813 2.4679 2.2953

Calcule el valor de y (2.4 )

1. Los cálculos solicitados, por cada uno de los siguientes métodos:

 Interpolación de Lagrange

x 0.01 0.02 0.03 0.04 0.05 0.06


y Yo= Y1= Y2= Y3= Y4= Y5=
4.0379 3.3547 2.9591 2.6813 2.4679 2.2953

P ( x )=Y 0 L0 ( x ) +Y 1 L1 ( x )+ Y 2 L2 ( x ) +Y 3 L3 ( x ) +Y 4 L 4 ( x ) +Y 5 L5 ( x )

( x−0.02 ) ( x−0.03 ) ( x−0.04 ) ( x−0.05 ) ( x−0.06 )


L0 ( x ) =
( 0.01−0.02 ) ( 0.01−0.03 )( 0.01−0.04 )( 0.01−0.05 ) ( 0.01−0.06 )

( x−0.02 )( x−0.03 ) ( x−0.04 ) ( x−0.05 )( x−0.06 )


L0 ( x ) = −8
−1.2∗10

( x−0.01 ) ( x −0.03 ) ( x−0.04 )( x−0.05 )( x−0.06 )


L1 ( x ) =
( 0.02−0.01 ) ( 0.02−0.03 ) ( 0.02−0.04 ) ( 0.02−0.05 ) ( 0.02−0.06 )

( x−0.01 )( x−0.03 )( x−0.04 ) ( x−0.05 ) ( x−0.06 )


L1 ( x ) = −9
2.4∗10

( x−0.01 )( x−0.02 ) ( x−0.04 ) ( x −0.05 ) ( x−0.06 )


L2 ( x ) =
( 0.03−0.01 ) ( 0.03−0.02 )( 0.03−0.04 )( 0.03−0.05 ) ( 0.03−0.06 )

( x−0.01 )( x−0.02 )( x−0.04 ) ( x −0.05 ) ( x−0.06 )


L2 ( x ) = −9
−1.2∗10

( x−0.01 ) ( x−0.02 ) ( x−0.03 ) ( x−0.05 )( x−0.06 )


L3 ( x ) =
( 0.04−0.01 )( 0.04−0.02 )( 0.04−0.03 )( 0.04−0.05 )( 0.05−0.06 )
( x−0.01 )( x−0.02 )( x−0.03 )( x−0.05 )( x−0.06 )
L3 ( x ) = −9
1.2∗10

( x−0.01 ) ( x−0.02 ) ( x−0.03 ) ( x−0.04 )( x−0.06 )


L4 ( x ) =
( 0.05−0.01 )( 0.05−0.02 ) ( 0.05−0.03 ) ( 0.05−0.04 ) ( 0.05−0.06 )

( x−0.01 ) ( x−0.02 ) ( x−0.03 ) ( x−0.04 )( x−0.06 )


L4 ( x ) = −9
−2.4∗10

( x−0.01 ) ( x −0.02 ) ( x −0.03 ) ( x−0.04 )( x−0.05 )


L5 ( x ) =
( 0.06−0.01 ) ( 0.06−0.02 ) ( 0.06−0.03 ) ( 0.06−0.04 ) ( 0.06−0.05 )

( x−0.01 )( x−0.02 )( x−0.03 )( x−0.04 ) ( x−0.05 )


L5 ( x ) = −8
1.2∗10

[
P ( x )=
( 4.0379 ) ( x−0.02 ) ( x−0.03 )( x−0.04 ) ( x−0.05 ) ( x−0.06 )
−1.2∗10 −8
+
][
( 3.3547 )( x−0.01 ) ( x−0.03 )( x−0.04 ) ( x−0.0
2.4∗10−9

P ( x )=[ (−3.36∗10 ) ( x−0.02 )( x−0.03 )( x−0.04 ) ( x−0.05 ) ( x−0.06 ) ]+ [ ( 1.4∗10 ) ( x−0.01 )( x−0.03 )( x−0.04 ) ( x
8 9

9
P ( 2.4 ) =−1.10∗10

 Interpolación de Diferencias Divididas de Newton

x 0.01 0.02 0.03 0.04 0.05 0.06


y 4.0379 3.3547 2.9591 2.6813 2.4679 2.2953

0.0 4.0379
1
0.0 3.3547 -68.32
2
0.0 2.9591 -39.56 1438
3
0.0 2.6813 -27.78 589 -28300
4
0.0 2.4679 -21.34 322 -8900 485000
5
0.0 2.2953 -17.26 204 -3933 124167 -7216667
6

P ( x )=[ 4.0379 ] + [ −68.32 ( x−0.01 ) ] + [ 1432 ( x−0.01 ) ( x−0.02 ) ] + [ −28300 ( x−0.01 ) ( x−0.02 ) ( x−0.03 ) ] + [ 485000

8
P ( 2.4 ) =−5.24∗10

 Polinomio de interpolación de Diferencias Finitas de Newton

x 0.01 0.02 0.03 0.04 0.05 0.06


y 4.0379 3.3547 2.9591 2.6813 2.4679 2.2953

0.0 4.0379
1
0.0 3.3547 -0.68
2
0.0 2.9591 -0.40 0.29
3
0.0 2.6813 -0.28 0.12 -0.17
4
0.0 2.4679 -0.21 0.06 -0.05 0.12
5
0.0 2.2953 -0.17 0.04 -0.02 0.03 0.09
6

2.4−0.06
K= =−234
0.01
P ( x )=[ 4.0379 ] + [ 234∗−0.68 ] +
[( −234∗−235
2 )
∗0.29 +
] [(
−234∗−235∗−236
6
∗−0.17 +
−234∗−2
) ] [(
8
P ( 2.4 ) =−5.33∗10
2. Cada estudiante deberá realizar un análisis comparativo de los
resultados obtenidos apoyándose en la teoría revisada.

A pesar de que los valores estuvieron muy cercanos en el método


de diferencias divididas y de diferencias finitas; se evidencia que el
método de interpolación de Lagrange es más acertado, ya que con los
valores que se tienen se plantea un polinomio exacto, no como en los
otros dos métodos, de los cuales se hacen aproximaciones, y además
depende de que los datos estén igualmente espaciados.

También podría gustarte