Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 13

Trabajo de Métodos Dinámicos

AUTORES: Ángel Campoverde, Edwin Barros, Juan Sisalima, Pablo Juca


 Consistente en ir incrementando paso a paso la variable independiente y hallando la siguiente
imagen con la derivada.

𝑑𝑦
= 𝑓 𝑥, 𝑦
𝑑𝑥
Nuevo valor = valor anterior + pendiente por tamaño de paso

𝑦𝑛+1 = 𝑦𝑛 + ∅ℎ 1

∅ = 𝑓 𝑥, 𝑦

𝑦𝑛+1 = 𝑦𝑛 + ℎ 𝑓 𝑥𝑛 , 𝑦𝑛
Use el método de Euler para integrar numéricamente la siguiente ecuación diferencial: En el
intervalo 0 ≤ 𝑋 ≤ 0,5 con h= 0,1
𝑑𝑦/𝑑𝑥=2𝑥𝑦
𝑦ሶ = 2𝑥𝑦 𝑥0 = 0 1.4
𝑦0 = 1 1.2
𝑦(0) = 1
ℎ = 0.1 1
𝑓 𝑥, 𝑦 = 2𝑥𝑦 0.8

0.6
Solución:
0.4

0.2

0
0 0.1 0.2 0.3 0.4 0.5 0.6
 El método consiste en usar la ecuación de Euler como una ecuación predictora
y usar este resultado en la ecuación correctora de Euler-Gauss.

𝑦𝑛+1 = 𝑦𝑛 + ℎ𝑓(𝑥𝑛 , 𝑦𝑛 )

𝑡1

න 𝑓 𝑡, 𝑦 𝑑𝑡 = (𝑓(𝑡0 , 𝑦0 ) + (𝑡1 , 𝑦(𝑡1 ))ቇ
𝑡𝑜 2
Use el método de Euler para integrar numéricamente la siguiente ecuación diferencial: En el
intervalo 0 ≤ 𝑋 ≤ 0,5 con h= 0,1

𝑦ሶ = 2𝑥𝑦 𝑥0 = 0
𝑦0 = 1
𝑦(0) = 1
ℎ = 0.1
𝑓 𝑥, 𝑦 = 2𝑥𝑦
Solución:

En la primera Interacción tenemos:

𝑥 1 = 𝑥 0 + ℎ = 0 + 0.1 = 0.1
𝑦1∗ = 𝑦 0 + ℎ ∙ 𝑓 𝑥 0 , 𝑦 0 = 1 + 0.1 2 0 1 = 1
𝑓 𝑥 0 , 𝑦 0 + 𝑓 𝑥1 , 𝑦1∗ 2 0 1 + 2 0.1 1
𝑦1 = 𝑦 0 + ℎ ∙ = 1 + 0.1 = 1 + 0.1 0.1 = 1.01
2 2
Segunda Interacción
:
𝑥 2 = 𝑥 1 + ℎ = 0.1 + 0.1 = 0.2
𝑦2∗ = 𝑦1 + ℎ ∙ 𝑓 𝑥 1 , 𝑦1 = 1.01 + 0.1 2 0.1 1.01 = 1.0302
𝑓 𝑥1 , 𝑦 1 + 𝑓 𝑥2 , 𝑦2∗ 2 0.1 1.01 + 2 0.2 1.0302)
𝑦2 = 𝑦 1 + ℎ ∙ = 1.01 + 0.1 = 1.01 + 0.1 0.30704 = 1.040704
2 2

Tercera Interacción :

𝑥 3 = 𝑥 2 + ℎ = 0.2 + 0.1 = 0.3


𝑦3∗ = 𝑦2 + ℎ ∙ 𝑓 𝑥 2 , 𝑦2 = 1.040704 + 0.1 2 0.2 1.040704 = 1.08233216
𝑓 𝑥2 , 𝑦2 + 𝑓 𝑥3 , 𝑦3∗ 2 0.2 1.040704 + 2 0.3 1.08233216
𝑦3 = 𝑦2 + ℎ ∙ = 1.040704 + 0.1 = 1.0939839
2 2
Cuarta Interacción :

𝑥4 = 𝑥3 + ℎ = 0.03 + 0.1 = 0.4


𝑦4∗ = 𝑦3 + ℎ ∙ 𝑓 𝑥3 , 𝑦3 = 1.0939839 + 0.1 2 0.3 1.0939839 = 1.159623183
𝑓 𝑥3 , 𝑦3 + 𝑓 𝑥4 , 𝑦4∗ 2 0.3 1.0939839 + 2 0.4 (1.159623183)
𝑦4 = 𝑦3 + ℎ ∙ = 1.0939839 + 0.1 = 1.173188344
2 2

Quinta Interacción ;

𝑥5 = 𝑥4 + ℎ = 0.04 + 0.1 = 0.5


𝑦5∗ = 𝑦4 + ℎ ∙ 𝑓 𝑥4 , 𝑦4 = 1.173188344 + 0.1 2 0.4 1.173188344 = 1.267043412
𝑓 𝑥4 , 𝑦4 + 𝑓 𝑥5 , 𝑦5∗ 2 0.4 1.173188344 + 2 0.5 1.267043412
𝑦5 = 𝑦4 + ℎ ∙ = 1.173188344 + 0.1 = 1.283468095
2 2
Resultados Euler :

Euler Mejorado

Resultados Euler Mejorado:


Euler
 Este método numérico es el más utilizado por cuanto es el que más se aproxima a la solución
de las EDOs si comparamos las anteriores prueban la aproximación de los métodos de Euler y
Euler mejorado.

𝐾1 = 𝑓 𝑥𝑛 , 𝑦𝑛

ℎ 1
𝐾2 = 𝑓(𝑋𝑛 + , 𝑦𝑛 + 𝐾1 ቇ
2 2 1
ℎ 1
𝑦𝑛+1 = 𝑦𝑛 + ℎ(𝐾1 + 2𝐾2 + 2𝐾3 + 𝐾4 ቇ
𝐾3 = 𝑓(𝑋𝑛 + , 𝑦𝑛 + 𝐾2 ቇ
6
2 2

𝐾4 = 𝑓 𝑥𝑛 + ℎ, 𝑦𝑛 + 𝐾3
Use el método de Euler para integrar numéricamente la siguiente ecuación diferencial: En el
intervalo 0 ≤ 𝑋 ≤ 0,5 con h= 0,1

𝑦ሶ = 2𝑥𝑦 𝑥0 = 0
𝑦0 = 1
𝑦(0) = 1
ℎ = 0.1
𝑓 𝑥, 𝑦 = 2𝑥𝑦
Solución: 𝒏 𝒙𝒏 𝒚𝒏
0 0 1
1 0,1 1,01035167
2 0,2 1,04296764
3 0,3 1,10125475
4 0,4 1,19068872
5 0,5 1,31964745
 Bonifaz, J., & Winkelried, D. (2003). Matemáticas para la economía dinámica.
UNIVERSIDAD DEL PACÍFICO CENTRO DE INVESTIGACIÓN.
 Milques, A. (2011). Docente at Universidad de America. Obtenido de
https://es.slideshare.net/harveymilquez/euler-modificado
 Universidad de Jaén (UJA). (s.f.). Universidad de Jaén (UJA). Obtenido de
http://matema.ujaen.es/jnavas/web_modelos/pdf_mmb08_09/metodos%20numer
icos.pdf
 Universidad de Salamanca. (s.f.). Obtenido de
http://campus.usal.es/~mpg/Personales/PersonalMAGL/Docencia/MetNumTema4
Teo(09-10).pdf

You might also like