Documentos de Académico
Documentos de Profesional
Documentos de Cultura
MÉTODOS NUMÉRICOS
PRESENTADO POR:
JAIRO ALEXANDER MONTAÑO CODIGO 80.743.206
JAIRO ANTONIO JIMENEZ CAMARGO CODIGO 80.250.372
OSCAR JAVIER DELGADO CODIGO 80.217.860
JIMENEZ JIMENEZ RENAN CODIGO 80373071
HELBERT HERNÁNDEZ CODIGO
TUTORA:
GRUPO:
100401_82
BOGOTA DC
2018
2
INTRODUCCION
Los problemas tratados en este documento, tiene que ver con los conceptos de los
métodos y técnicas de Diferenciación Numérica, Regla del Trapecio, Regla de
Simpson, Integración de Romberg, Integrales Múltiples, Método de Euler, Métodos
de Taylor y Método de Runge Kutta.
Desarrollo de la Actividad
Aportes 1: Solucionar.
4 1.04 0.039220713
5 1.05 0.048790164
6 10.6 0.058268908
7 1.07 0.067658648
8 1.08 0.076961041
9 1.09 0.086177696
10 1.1 0.09531018
xj ln ( x) Exacta Aproximada
1 0 1 0.99993485
1.01 0.009950331 0.99009901 0.99013136
1.02 0.019802627 0.980392157 0.98042357
1.03 0.029558802 0.970873786 0.97090429
1.04 0.039220713 0.961538462 0.9615681
1.05 0.048790164 0.952380952 0.95240975
1.06 0.058268908 0.943396226 0.94342422
1.07 0.067658648 0.934579439 0.93460665
1.08 0.076961041 0.925925926 0.92595239
1.09 0.086177696 0.917431193 0.91745693
1.1 0.09531018 0.909090909 0.9099039851
2 3 4
∫ 3+xx 1/ 2 dx ∫ √3 x (e 2 x )dx
1 2
b
h
I =∫ f ( x)dx= [ f ( a ) +2 f ( a+ h )+ 2 f ( a+2 h ) + f (b)]
a 2
b−a
h=
n
2
x3
I =∫ 1/2
dx
1 3+ x
a=1
b=2
n=4
2−1
h= =0.25
4
x 0=a=1
f 0=f ( x0 ) =f ( 1 )=0.25
i xi f ( xi ) m mf ( x i)
0 1 0.25 1 0.25
1 1.25 0.474286 2 0.948572
2 1.5 0.798865 2 1.597730
3 1.75 1.2397171 2 2.479542
4 2 1.812327 1 1.812327
Σ=7.0881701468
0.25
I= ( 7.0881701468 )=0.8860212683
2
6
4
3
I =∫ √ x (e2 x ) dx
2
a=2
b=4
n=4
2−4
h= =0.5
4
x 0=a=2
f 0=f ( x0 ) =f ( 2 )=68.789359
i xi f ( xi ) m mf ( x i)
0 2 68.789359 1 68.789359
1 2.5 201.427647 2 402.855294
2 3 581.845004 2 1163.690008
3 3.5 1665.012078 2 3330.024155
4 4 4731.975845 1 4731.975845
Σ=9697.3346598238
0.5
I= ( 9697.3346598238 ) =2424.3336649559
2
3. Soluciones los siguientes ejercicios utilizando la Regla de Simpson 1/3 y 3/8. (n=
4)
4 x 3
e
∫ x−1 dx ∫ e2 x ln ( 2 x ) dx
2 1
Solución
∫ f ( x ) dx ≈ b−a
3n
[ f ( x 0 ) + 4 f ( x 1 ) +2 f ( x 2 ) +4 f ( x 3 ) +…+ 4 f ( x n−1 ) + f ( xn ) ]
a
7
4
ex
∫ x−1 dx
2
b−a 4−2 1
∆ x= = =
n 4 2
e( 2 )
f ( 2) = =7.3891
( 2 ) −1
5
5 e2
f
2 ()
=
5
=8.1217
2
−1 ()
e( 3 )
f ( 3 )= =10.0428
(3 )−1
7 e 7 /2
f ()=
2 ( 7/2)−1
=13.2462
f ( 4 ) =18.1994
4 x
e 4−2
∫ x−1
2
dx ≈
3 ( 4) [ f ( 2 )+ 4 f ( 52 )+2 f ( 3) + 4 f ( 72 )+f ( 4) ]=21.86
4 x
e 3 ( 4−2 ) 5 7
∫ x−1
2
dx ≈
8 (4 ) [
f ( 2 ) +3 f
2 ()
+3 f ( 3 ) +2 f
2 ()
+ f ( 4 ) =19.98
]
8
∫ e2 x ln ( 2 x ) dx
1
b−a 3−1 1
∆ x= = =
n 4 2
f ( 2 ) =e 2( 2) ln ( 2 ( 2 ) ) =75.6891
5
2( )
f
5
()
2 ( ( ( )))
= e 2 ln 2
5
2
=238.8618
f ( 3 )=( e2 (3 ) ln ( 2 ( 3 ) ) ) =722.8474
7
2( )
f
7
2()
= e 2 ln 2
( ( ( )))
7
2
=41.4858
f ( 4 ) =e 2( 4 ) ln ( 2 ( 4 ) )=6198.7279
∫ e2 x ln ( 2 x ) dx ≈ 3−1
3 ( 4) [ f ( 2) + 4 f ( 52 )+2 f ( 3) +4 f ( 72 )+ f ( 4 ) ]=1473.58
1
4
ex 3 ( 3−1 )
∫ x−1 dx ≈ 8 ( 4 ) f ( 2 )+3 f 52 +3 f ( 3 )+2 f 72 + f ( 4 ) =1732.97
[ () () ]
2
Aporte 2: Solucionar.
3
3
∫ e x dx
1
n=1
2 1 33 3
I 1= [ e + e ]=5.32∗1011
2
n=2
1 1 3 3 3
I 2= [ e +2 e 2 + e3 ] =2.66∗1011
2
n=4
0.5 1 3 3 3 3 3
I 3=
2
[ e + 2 e(1.5 ) +2 e(2) + 2e (2.5 ) + e 3 ]=1.33∗10 11
4
( 2.66∗1011 ) − 1 ( 5.32∗1011 )=1.77∗1011
3 3
4
( 1.33∗1011 )− 1 ( 2.66∗10 11 )=8.87∗10 10
3 3
16
( 8.87∗1010 ) − 1 ( 1.77∗1011 )=8.28∗1010
15 15
∫ e x ln ( x ) dx
1
n=1
1 1
I 1= [ e ln ( 1 ) +e 2 ln ( 2 ) ] =2.5609
2
n=2
0.5 1
I 2=
2
[ e ln ( 1 ) +2 e 1.5 ln (1.5)+e 2 ln ( 2 ) ] =2.1890
n=4
0.25 1
I 3= [ e ln ( 1 ) +2 e 1.25 ln ( 1.25 ) +2 e 1.5 ln ( 1.5 )+ 2 e1.75 ln ( 1.75 )+ e 2 ln ( 2 ) ]=2.0943
2
10
4 1
( 2.1890 )− ( 2.5609 )=2.0650
3 3
Para la segunda y tercera solución se tiene
4 1
( 2.0943 )− ( 2.1890 )=2.0627
3 3
Entre los dos resultados obtenidos anteriormente se tiene
16 1
( 2.0627 ) − ( 2.0650 )=2.0625
15 15
Solución
∫ ∫ e y /x dydx ≈ 0.0333054
0.1 x 3
2
0.5 x
∫ ∫ e y /x dydx
0.1 x 3
La integral con respecto a y se soluciona de forma analítica por lo que da como resultado
2
x y
x
∫e 3
dy
x
y 1
u= , du= dy
x x
11
2
x y x
2
∫ e x dy=∫ xe u du=x eu ¿ xx =x (e x −e x )
3 2
2
x x
b−a 0.5−0.1 1
∆ x= = = =0.1
n 4 10
0.5
∫ x (e x −e x )dx ≈ 0.5−0.1 1
2
2 2
x
y /x x (e x −e x )
∫e 3
dydx
x
2
0.5 x 0.5
2
∫∫e y /x
dydx ∫ x (e x −e x ) dx
0.1 x 3 0.1
0.5
2 0.0333
∫ x (e x −e x ) dx
0.1
∫∫ ( x2 + y 3 ) dydx ≈ 1.000122
0 x
12
2x 4
(2 x) 4 x 4
∫ ( x2 + y 3 ) dy=x 2 y ¿ 2x x + y4 ¿2x x =x2 ( 2 x −x ) + 4 4
15
− =x 3 + x 4
4
x
1 2x 1
∫∫ ( x2 + y 3 ) dydx=¿∫ x 3+ 15 x 4 dx ¿
( 4 )
0 x 0
b−a 1−0 1
∆ x= = = =0.25
n 4 4
1
∫ ( x 3+ 15
4 )
x 4 dx=
1−0
3 ( 4)
1
[ f ( 0 )+ 4 f ( 0.25 )+ 2 f ( 0.5 ) +4 f ( 0.75 ) +f ( 1 ) ]= 12 0+4
31
1024
+2
23
[ ( ) ( ) ( ) ( )]
64
+4
1647
1024
+
19
4
=1.
0
2x
15 4
∫ ( x2 + y 3 ) dy x 3+ x
4
x
1 2x 1
∫∫ ( x2 + y 3 ) dydx ∫ ( x 3+ 15
4 )
x 4 dx
0 x 0
1
1.002
∫ ( x 3+ 15
4
x 4) dx
0
dy
{
=f (x , y )
dx
PVI
y ( x 0 )= y 0
y ( x i )=?
13
x i−x 0
h=
n
x 1=x 0+ h=0+0.05=0.05
x 4 =x3 +h=0.15+0.05=0.2
Aporte 3: Solucionar.
7. Aplicar el método de Taylor de orden dos a la ecuación y´ = Cos(xy), con
la condición inicial: y ( 0 ) = 1. Utilizar h = 0.5
1
y i+1 = y i+ f ' ( x i , y i ) h+ f ' ' ( x i , y i ) h2
2
dy
{ dx
=f ( x , y )
y ( 0 )=1
h=x i+ 1−xi =0.5
f ' ( x , y ) =cos ( xy)
f ' ' ( x , y )=−sin ( xy ) y−sin ( xy )=−sin ( xy )( y +1 )
x 1=x 0+ h=0.5
h2
y 1= y 0 +hcos ( x 0 y 0 ) +
−sen ( x 0 y 0 ) ( y 0 + cos ( x 0 y 0 ) ) )
2(
0.5 2
y 1=1+0.5∗cos ( 0 )+ ( −sen ( 0 ) ( 1+ cos ( 0 ) ) ) =1.5
2
x 2=x 1+ h=1
2
0.5
y 2=1.5+ 0.5∗cos ( 0.51.5 ) + ( −sen ( 0.51 .5 ) ( 1.5+cos ( 0.51 .5 ) ) ) =1.67569
2
x 3=x 2+ h=1.5
14
2
0.5
y 3=1.67569+ 0.5∗cos (1,1.67569 ) + ( −sen ( 1,1.67569 ) ( 1.67569+cos ( 1,1.67569 ) ) ) =1.42805
2
x 4 =x3 +h=2
0.52
y 4 =1.42805+0.5∗cos ( 1.5,1.42805 )+ ( −sen (1.5,1 .42805 ) ( 1.42805+cos ( 1.5,1.42805 ) ) )=1.06439
2
x 5=x 4 +h=2.5
0.52
y 5=1.06439+ 0.5∗cos (2,1.06439 )+ ( −sen (2,1.06439 ) ( 1.06439+cos ( 2,1.06439 ) ) )=0.74293
2
x 6=x 5 +h=3
0.52
y 6=0.74293+0.5∗cos ( 2.5,0 .74293 )+ ( −sen ( 2.5,0.74293 ) ( 0.74293+ cos ( 2.5,0.74293 )) )=0.54643
2
x 7=x 6 +h=3.5
2
0.5
y 7=0.54643+ 0.5∗cos ( 3,0.54643 ) + (−sen ( 3,0.54643 ) ( 0.54643+cos ( 3,0.54643 ) ) )=0.42398
2
x 8=x 7 +h=4
0.52
y 8=0.42398+ 0.5∗cos ( 3.5,0.42398 )+ ( −sen ( 3.5,0.54643 ) ( 0.42398+cos ( 3.5,0.42398 ) ) ) =0.38143
2
x 9=x 8 +h=4.5
0.52
y 9=0.38143+0.5∗cos ( 4,0.38143 ) + ( −sen ( 4,0.38143 ) ( 0.38143+ cos ( 4,0.38143 )) ) =0.32195
2
x 10=x 9+ h=5
0.5 2
y 10=0.32195+ 0.5∗cos ( 4.5,0 .32195 )+ ¿
2
x 11=x 10 +h=5.5
0.52
y 11 =0.30788+0.5∗cos ( 5,0.30788 ) + ¿
2
x 12=x10 +h=6
2
0.5
y 12=0.26122+0.5∗cos ( 5.5,0 .26122 )+ ( −sen ( 5.5,0.26122 ) ( 0.30788+cos ( ( 5.5,0 .26122 ))) )=¿
2
0.26089
diferencial
dy
=3 x2 y
dx
dy
=f ( x , y ) =3 x 2 y
dx
x 1=0 , y 1=2
1
y 2= y 1 + ( k 1 +2 k 2+ 2 k 3+ k 4 ) h
6
k 1=f ( x 1 , y 1 )
1 1
( )
k 2=f x1 + h , y 1+ k 1 h
2 2
1 1
k =f ( x + h , y + k h)
3 1 1 2
2 2
k 4=f ( x 1+h , y 1 +k 3 h )
k 1=2 ( 0 )2 (2)=0
2 2
1 1 1
(
k 2=2 x 1+ h
2 )( ) (
y 1 + k 1 h =2 0+ (0.5)
2 2 ) (2+ 12 (0)(0.5))= 14
16
2 2
1 1 1
(
k 3=2 x 1+ h
2 )( ) (
y 1+ k 2 h =2 0+ (0.5)
2 2 ) (2+ 12 ( 14 )(0.5))= 128
33
33 545
( ( ) )
k 4=2 ( x 1+ h )2 ( y 1+ k 3 h ) =2 ( 0+ 0.5 )2 2+
128
(0.5) =
512
1 1 1 33 545
y 2= y 1 + ( k 1 +2 k 2+ 2 k 3+ k 4 ) h=2+ 0+2
6 6 4[ () ( ) ]
+2 +
128 512
=2.3467
x 2=0.5
CONCLUSIONES
En la regla de trapecio entre más grande sea el valor de n más exacto será el
área bajo la curva.
REFERENCIAS
García, I., & Maza, S. (2009). Métodos numéricos: problemas resueltos y prácticas:
problemas resueltos y prácticas. Lérida, ES: Edicions de la Universitat de
Lleida.Recuperado
de http://bibliotecavirtual.unad.edu.co:2077/lib/unadsp/reader.action?
docID=10679293&p00=diferencias+divididas+newton&ppg=5
Mesa, F., & Bravo, J. E. (2012). Elementos de cálculo numérico. Bogotá, CO: Ecoe
Ediciones.Recuperado de
http://bibliotecavirtual.unad.edu.co:2077/lib/unadsp/reader.action?
docID=10584232&p00=m%C3%A9todo+newton-+raphson&ppg=9