Está en la página 1de 3

ECUACIONES DIFERENCIALES ORDINARIAS DE SEGUNDO ORDEN

Problema del valor frontera


 Método de diferencias finitas
 Método del disparo

MÉTODO DE DIFERENCIAS FINITAS

Ec . Diferencial de la forma : y ' ' =f ( x , y , y ' )


Condicióninicial ( CI ) : y ( x o )= y 0
Condición final ( CF ) : y ( x f ) = y f
Método numérico=h
Hallar los puntos intemedios= y 1 , y 2 ,…

Se usarán las siguientes fórmulas:


' y i+1− y i−1 ' y i+1 −2 y i + y i−1
y i= y ' i=
2h h2

Ejemplo de EDO de segundo orden


Problema: Resolver la siguiente ecuación diferencial ordinaria:
y ”− y ’−2 y =0
con condiciones de frontera: y(0)=0.1 e y(0.5)=0.283. considere h=0.1
Solución:
x 0=0 x 1=0.1 x 2=0.2 x 3=0 .3 x 4 =0.4 x 5=0.5

y 0=0.1 y 1=? y 2=? y 3=? y 4 =? y 5=0.283

Aplicando las fórmulas:

yrSub{size8{} -y'rSub{size8{} -2yrSub{size8{} =0}{ #italPra~i=1:4{}# {yrSub{size8{+1} -2yrSub{size8{} +yrSub{size8{-1} over{hSup{size8{2} -{ yrSub{size8{+1} -yrSub{size8{-1} over{2h} -2yrSub{size8{} =0{} {¿¿
Reemplazando
¿
y 2 −2 y 1 + y 0y 2− y 0
2
−2 y 1=0 −
h 2h
y 3 −2 y 2 + y 1 y 3 − y 1
− −2 y 2 =0
h 2 2 h
y 4 −2 y 3 + y 2 y 4 − y 2
2
− −2 y 3=0
h 2 h
y 5 −2 y 4 + y 3 y5 − y 3
2
− −2 y 4 =0
h 2h
Teniendo en cuenta que: y0=0.1, y5=0.283 y h=0.1 Se forma el siguiente sistema:
100 ( 0. 1 )−200 y 1 +100 y 2 +5 ( 0. 1 )−5 y 2 −2 y 1=0
100 y 1−200 y 2 +100 y 3 +5 y 1−5 y 3 −2 y 2=0
100 y 2−200 y 3 +100 y 4 +5 y 2 −5 y 4 −2 y 3 =0
100 y 3−200 y 4 +100 ( 0 . 283 ) +5 y 3−5 ( 0 . 283 )−2 y 4 =0
Ordenando, el sistema de ecuaciones queda así:

−202 95 0 0 y1 −10 .5 y1 0 .1238

[ 105
0
0
−202 95
105
0
−202 95
105
0

−202
][ ] [ ] [ ] [ ]
y2
y3
y4
= 0
0
−26 .885
y
⇒ 2 = 0 .1527
y3
y4
0 . 1879
0 .2308

También podría gustarte