Está en la página 1de 3

ECUACIONES DIFERENCIALES

METODO RUNGE KUTTA. Ref. pg. 42


Se plantean las siguientes frmulas:
k1 f x, y
k h
h

k2 f x ; y 1
2
2

k h
h

k3 f x ; y 2
2
2

k 4 f x h; y k 3 h
y 0 t y 0 i

h
k1 2k 2 2k 3 k 4
6

EJEMPLO
En la siguiente ecuacin diferencial ordinaria, cul ser el valor de y
cuando x = 0.5?
y'

1 x y 2
2

Bajo las condiciones iniciales: y 0 1 , esto es, x = 0, y = 1; con un


incremento h = 0.1

SOLUCION
Con x = 0, y = 1 tenemos:
k1 f x, y
k1

1 x y 2
2

1 012
2

1
0 .5
2

k h
h

k2 f x ; y 1
2
2

k h
h
1 x y 1
2
2

k2
2

0.1
0.5 * 0.1
1 0
1

2
2

0.5516

k h
h

k3 f x ; y 2
2
2

h
k h
1 x y 2
2
2
k3
2

0.1
0.5516 * 0.1
1 0
1

2
2

0.5544

k 4 f x h; y k 3 h

k4

1 x h y k3 h 2 1 0 0.11 0.5544 * 0.1 2


2

0.6127

Cuando x = 0.1 el valor de y es:

y 0 t y 0 i

y 0 t 1

h
k1 2k2 2k3 k4
6

0 .1
0.5 2 * 0.5516 2 * 0.5544 0.6127 1.0554
6

Repetir el proceso con x = 0.1 el valor de


y=1.0554:

X
0
0,1
0,2
0,3
0,4
0,5

Y
1
1,0554
1,1236
1,2085
1,3158
1,4545

K1
0,5
0,6126
0,7575
0,9492
1,2119
1,5868

K2
0,5516
0,6782
0,8431
1,0647
1,3735
1,8234

K3
0,5544
0,6823
0,8494
1,0745
1,3896
1,8517

K4
0,6127
0,7575
0,9494
1,2121
1,5872
2,1509

También podría gustarte