Documentos de Académico
Documentos de Profesional
Documentos de Cultura
SEGUNDO ORDEN
Sea la ecuación diferencial ordinaria de segundo orden
, (1)
1. Definir de manera que la ecuación diferencial de segundo orden se reduce a un sistema de ecuaciones
diferenciales de primer orden
Luego, el método de Runge – Kutta de orden 2 - Método de Heun, para el sistema de ecuaciones (2) se escribe
como,
HEUN HEUN
h h
𝑦 = 𝑦 + [ 𝑓 (𝑡 𝑘 , 𝑦 𝑘 )+𝑓 (𝑡𝑘 +1 , 𝑃𝑘 +1)] 𝑦 𝑛+1= 𝑦 𝑛+ [ 𝑓 (𝑡 𝑛 , 𝑦 𝑛)+𝑓 (𝑡 𝑛+1 , 𝑦 𝑛 +h𝑓 (𝑡𝑛 , 𝑦 𝑛 ))]
𝑘+1 𝑘
2 2
𝑃
𝑘 +1= 𝑦 𝑘 +h𝑓 (𝑡 𝑘 , 𝑦 𝑘 ) 𝑡 𝑛+1=𝑡 𝑛 +h
𝑡 𝑘+1=𝑡 𝑘 +h
h
[
𝑦 𝑛+1= 𝑦 𝑛+ 𝑓 ( 𝑡 𝑛 , 𝑦 𝑛 , 𝑧 𝑛 ) + 𝑓 ( 𝑡 𝑛 +1 , 𝑦 𝑛 +h𝑓 ( 𝑡 𝑛 , 𝑦 𝑛 , 𝑧 𝑛 ) , 𝑧 𝑛 +h𝑔 ( 𝑡 𝑛 , 𝑦 𝑛 , 𝑧 𝑛 ) )
2 ]
𝑦 = 𝑦 + 1 h𝑓 𝑡 , 𝑦 , 𝑧 +h 𝑓 𝑡 , 𝑦 +𝑘 , 𝑧 +𝑙
𝑛+1 𝑛
2
[ ( 𝑛 𝑛 𝑛) ( 𝑛 +1 𝑛 1 𝑛 1 ) ]
1
𝑦 𝑛+1= 𝑦 𝑛+ (𝑘 1 +𝑘 2 )
2
Donde
𝑘 1 =h𝑓 (𝑡 𝑛 , 𝑦 𝑛 , 𝑧 𝑛 )=h 𝑧 𝑛
𝑙 1=h𝑔 (𝑡 𝑛 , 𝑦 𝑛 , 𝑧 𝑛)=h(− 𝑎 𝑧 𝑛 − 𝑏 𝑦 𝑛+ 𝑞𝑛 )
𝑘 2 =h𝑓 (𝑡 𝑛+1 , 𝑦 𝑛+ 𝑘 1 , 𝑧 𝑛 +𝑙 1)=h(𝑧 𝑛 +𝑙 1)
𝑙 2=h𝑔 (𝑡 𝑛 +1 , 𝑦 𝑛 +𝑘 1 , 𝑧 𝑛+ 𝑙 1)=h(−𝑎 (𝑧 𝑛 +𝑙 1)− 𝑏( 𝑦 𝑛 +𝑘 1)+𝑞 𝑛+1 )
EJEMPLO 1
Cierto material de forma cubica, con una masa de se pone en el extremo inferior de un resorte sin masa. El
extremo superior se fija a una estructura en reposo. El cubo recibe una resistencia de del aire, donde es una
constante de amortiguamiento. La ecuación de movimiento es
SOLUCION
EJEMPLO 2
SOLUCION
, , , , , ,
:
𝑡 1 =0.2
𝑘
1 =h𝑓 ( 𝑡 0 , 𝑦 0 , 𝑧 0 )=h 𝑧 0 = ( 0.2 ) ( 0 )= 0
0
𝑙 1=h𝑔 ( 𝑡 0 , 𝑦 0 , 𝑧 0 ) =h ( − 𝑎 𝑧 0 − 𝑏 𝑦 0 + 𝑞0 ) = ( 0.2 ) ( − ( 0 ) ( 0 ) − ( 1 ) ( 0 )+ 𝑒 ) =0.2
𝑘
2 =h𝑓 ( 𝑡 1 , 𝑦 0+ 𝑘 1, 𝑧 0 +𝑙 1 )=h ( 𝑧 0 +𝑙 1 ) =( 0.2 ) ( 0+0.2 )=0.04
𝑙 2=h𝑔 ( 𝑡 1 , 𝑦 0 +𝑘 1 , 𝑧 0 +𝑙 1 )=h ¿
𝑦 = 𝑦 + 1 𝑘 +𝑘 =0+ 1 ( 0+0.04 )= 0.02
1 0 ( 1 2)
2 2
𝑦 1=0.02
𝑧 = 𝑧 + 1 𝑙 +𝑙 =0+ 1 ( 0.2+0.24428 ) =0.22214
1 0 ( 1 2)
2 2
:
𝑡 2 =0.4
𝑘
1 =h𝑓 ( 𝑡 1 , 𝑦 1 , 𝑧 1 )=h 𝑧 1= ( 0.2 )( 0.22214 )=0.04443
0.28548
1 0.2 0.02
2 0.4 0.08846
3 0.6 0.21353
La solución analítica de la ecuación diferencial es:
1 𝑡 1 1
𝑦 ( 𝑡 )= 𝑒 − 𝑐𝑜𝑠𝑡 − 𝑠𝑒𝑛𝑡
2 2 2
𝑦 ( 0.6 ) =0.21607
Valor
aproximado:0.21353
EJERCICIO