Está en la página 1de 2

dy

1.- Dada la ecuación diferencial =x √ y y(1)=4, aplique el método de Runge Kutta de cuarto
dx
orden para aproximar y(1.6) usando h=0.2

Primera iteración (i=0)

x 0=1 , y 0=4

k 1=f ( x 0 , y 0 )=x 0 √ y 0 =1 √ 4=2

( h
k 2=f x 0+ , y 0+
2
k 1∗h
2 )
=f ( 1.1 , 4.2 )=1.1 √ 4.2=2.25433

( h
k 3=f x 0+ , y 0+
2
k 2∗h
2 )
=f ( 1.1 , 4.22543 )=1.1 √ 4.22543=2.26114

k 4=f ( x 0+ h , y 0+ k 3∗h )=f (1.2 , 4.45222 ) =1.2 √ 4.45222=2.53204

1
y 1= y 0 + ( k 1 +2 k 2 +2 k 3 +k 4 )∗h=4.45210
6

Segunda iteración (i=1)

x 1=x 0 +h=1.2 , y 1=4.45210

k 1=f ( x 1 , y 1 ) =2.53200

( h
k 2=f x1 + , y 1 + 1
2 )
k ∗h
2
=2.81992

k =f ( x + , y +
2 )
h k ∗h 2
3 1 =3.13606
1
2

k 4=f ( x 1+h , y 1 +k 3∗h ) =3.13606

1
y 2= y 1 + ( k 1 +2 k 2 +2 k 3 +k 4 )∗h=5.01760
6
Tercera iteración (i=2)

x 2=x 1+ h=1.4 , y 2=5. 0 1760

k 1=f ( x 2 , y 2 ) =3.13600

( h k ∗h
k 2=f x2 + , y 2 + 1
2 2
=3.46341 )
( h
k 3=f x 2+ , y 2 +
2
k 2∗h
2 )
=3.47403

k 4=f ( x 2+ h , y 2 +k 3∗h ) =3.82410

1
y 3= y 2 + ( k 1 +2 k 2 +2 k 3 +k 4 )∗h=5.71210
6

También podría gustarte