Professional Documents
Culture Documents
(4)
entonces
METODO DE RUNGE-KUTTA
En la introduccin se estableci que el mtodo de Euler para resolver la ecuacin
diferencial de primer orden
Y' = f(X, Y) (7)
Con lo anterior se obtendra un mtodo mejorado de Euler con error del orden de
definido por la expresin
(11)
en donde
(13)
en el mtodo de Euler y
(14)
en lo que
Y' = f(X, Y) (15)
Estas caractersticas dan origen a una gran variedad de mtodos conocidos como
de Runge-Kutta. La diferencia entre ellos cosiste en la forma como se define la
funcin
* K1 =f [x i y i]
* K4 =f [x i +h y i +(h *K3)]
(16)
EJEMPLO:
Determine y (0.5) utilizando el mtodo de Runge-Kutta de cuarto orden, en el
intervalo de inters [0, 0.5], en 5 intervalos.
PVI { y =4e
0.8x
h =0.5 0 / 5
h =0.1
ITERACIN I
i =0 ; x0 =0 ; y0 =2
0.8*0)
K1 =f [0, 2] =4e(
(0.5 * 2)
K1 =3
0.8*0.05)
(0.5 * 2.15)
K2 =3.088243
K3 =4e(
(0.5 * 2.154412)
K3 =3.086037
0.8*0.1)
K4 =4e(
(0.5 * 2.308603)
K4 =3.178846
ITERACIN II
i =1 ; x1 =0.1 ; y1 =2.308790
0.8*0.1)
(0.5 * 2.308790)
K1 =3.178753
K2 =4e(
(0.5 * 2.467727)
K2 =3.276123
K3 =4e(
(0.5 * 2.472596)
K3 =3.273689
0.8*0.2)
K4 =4e(
(0.5 * 2.636158)
K4 =3.375964
ITERACIN III
i =2 ; x2 =0.2 ; y2 =2.636362
0.8*0.2)
(0.5 * 2.636362)
K1 =3.375862
K2 =4e(
(0.5 * 2.805155)
K2 =3.483033
K3 =4e(
(0.5 * 2.810513)
K3 =3.480354
0.8*0.3)
K4 =4e(
(0.5 * 2.984397)
K4 =3.592798
ITERACIN IV
i =3 ; x3 =0.3 ; y3 =2.984619
0.8*0.3)
(0.5 * 2.984619)
K1 =3.592687
K2 =4e(
(0.5 * 3.164253)
K2 =3.710392
K3 =4e(
(0.5 * 3.170138)
K3 =3.707450
K4 =4e(
K4 =3.830829
(0.5 * 3.355364)
ITERACIN V
i =4 ; x4 =0.4 ; y4 =3.355606
0.8*0.4)
(0.5 * 3.355606)
K1 =3.830708
K2 =4e(
(0.5 * 3.547141)
K2 =3.959747
K3 =4e(
(0.5 * 3.553593)
K3 =3.956521
K4 =4e(
(0.5 * 3.751258)
K4 =4.091669
y5(0.5) =3.751521