Está en la página 1de 4

8.

Solucionar el siguiente problema de valor inicial utilizando el Método de

Runge-Kutta de orden 2.

, con:

b. y(0) = 3 y usando h = 0.59. El espacio para h lo completa con la


última cifra de su número de documento.

x 0=0
x 1=x 0+ h=0+0.59=0.59
x 2=x 1+ h=0.59+ 0.59=1.18
x 3=x 2+ h=1.18+ 0.59=1.77
x 4 =x3 +h=1.77+0.59=2.36
x 5=x 4 +h=2.36+0.59=2.95

Con x 0=0 y y 0=3

Primera iteración:

Calculamos las constantes R1 , R 2 , R3 , R 4

R1=f ( x 0 , y 0 ) =f ( 0 , 3 )=( 0+ 0.9 ) ( 3+1.08 )∗sin ( 02+ 2.005 ( 0 ) )=0.9 ( 4.08 )∗sin ( 0 )=0

h hR 0.59 0.59∗0
( 2 2) (
R2=f x 0 + , y 0 + 1 =f 0+
2
,3+
2 )
=f ( 0.295,3 ) =( 0.295+0.9 ) ( 3+1.08 )∗sin ( 0.2952 +2.005 ( 0.2

h hR 0.59 0.59∗3.0600
R =f ( x + , y + )=f ( 0+ )=f ( 0.295,3 .9027)= ( 0.295+ 0.9) ( 3.9027+1.08)∗sin (
2
3 0 0 , 3+
2 2 2 2

h hR 0.59 0.59∗3.7331
R =f ( x + , y +
2 ) ( )=f ( 0.295,4 .1024)=( 0.295+ 0.9) ( 4.1024+1.08 )∗sin (
3
4 0 0 =f 0+ , 3+
2 2 2

h
y ( 0.59 )= y 1= y 0+ ( R1 +2 R 2+2 R3 + R 4 )
6
0.59
¿ 3+ ( 0+ 2∗3.0600+2∗3.7371+ 3.8869 )=3+0.0983(17.4811)=4.7190
6
Segunda iteración:

Calculamos las constantes R1 , R 2 , R3 , R 4

R1=f ( x 1 , y 1 )=f ( 0.59 , 4.7190 )=( 0.59+ 0.9 )( 4.7190+1.08 )∗sin ( 0.592+ 2.005 ( 0.59 ) )=1.49 ( 5.799 )∗sin ( 1.

h hR 0.59 0.59∗8.6337
(
R2=f x 1 + , y 1 + 1 =f 0.59+
2 2 ) (2
, 4.7190+
2 )
=f ( 0.885,7 .2659 )= ( 0.885+0.9 ) (7.2659+ 1.

h hR 0.59 0.59∗8.2132
( 2 2) (
R3=f x 1 + , y 1 + 2 =f 0.59+
2
, 4.7190+
2 )
=f ( 0.885,7 .1419 )=( 0.88 5+0.9 )( 7.1419+1.

h hR 0.59 0.59∗8.0912
R =f ( x + , y + )=f ( 0.59+ )=f ( 0.885, 7.1059)= ( 0.885+0.9) (7.1059+ 1.
3
4 1 1 , 4.7190+
2 2 2 2
h
y ( 1.18 )= y 2= y1 + ( R 1+ 2 R2 +2 R3 + R4 )
6
0.59
¿ 4.7190+ ( 8.6337+2∗8.2132+ 2∗8.0912+8.0557 )=4.7190+ 0.0983(49.0312)=9.5 666
6
Tercera iteración:

Calculamos las constantes R1 , R 2 , R3 , R 4

R1=f ( x 2 , y 2 )=f ( 1.18 ,9.5666 )=( 1.18+0.9 )( 9.5666+1.08 )∗sin ( 1.182 +2.005 ( 1.18 ) ) =2.08 (10.6466 )∗sin

h hR 0.59 0.59∗−12.8076
(
R2=f x 2 + , y 2 + 1 =f 1.18+
2 2 ) (2
, 9.5666+
2 )
=f ( 1.475 ,5.7884 )=( 1.475+0.9 ) ( 5.7884+

h hR 0.59 0.59∗−14.8906
( 2 2) (
R3=f x 2 + , y 2 + 2 =f 1.18+
2
, 9.566+
2 )
=f ( 1.475,5 .1739 )=( 1.475+0.9 ) ( 5.1739+1

h hR 0.59 0.59∗−13.5584
R =f ( x + , y + ) =f ( 1.18+ )=f ( 1.475 ,5.5669 ) =( 1.475+0.9) (5.5659+
3
4 2 2 , 9.5666+
2 2 2 2
h
y ( 1.77 )= y 3 = y 2+ ( R1 +2 R 2+2 R3 + R 4 )
6
0.59
¿ 9.5666+ (−12.8076+ 2∗−14.8906+ 2∗−13.5584−14.4105 )=9.5666+0.0983(−84.1673)=1.2952
6
Cuarta iteración:

R1=f ( x 3 , y 3 )=f ( 1.77 , 1.2952) =( 1.77+ 0.9 ) (1.2952+1.08 )∗sin ( 1.772 +2.005 ( 1.77 ) ) =2.67 ( 2.3752 )∗sin (

h hR 0.59 0.59∗2.4612
(
R2=f x 3 + , y 3 + 1 =f 1.77+
2 2 ) (2
,1.2652+
2 )
=f ( 2.065 , 2.0213 )=( 2.065+0.9 )( 2.0213+1.

h hR 0.59 0.59∗7.8365
( 2 2) (
R3=f x 3 + , y 3 + 2 =f 1. 77+
2
, 1.2652+
2 ) =f ( 2.065,3 .6070 )=( 2.065+0.9 )( 3.6070+1.

h hR 0.59 0.59∗11.8433
R =f ( x + , y +
2 ) ( )=f ( 2.065 , 4.7890 )=( 2.065+0.9) ( 4.7890+1
3
4 3 3 =f 1.77+ , 1.2652+
2 2 2
h
y ( 2.36 )= y 4= y 3 + ( R 1+2 R2 +2 R 3 + R4 )
6
0.59
¿ 1.2952+ ( 2.4612+2∗7.8365+2∗11.8433+14.8301 )=1.2952+0.0983 (56.6509)=6.8 659
6
Quinta iteración:

R1=f ( x 4 , y 4 )=f ( 2.36 , 6.8659 )=( 2.36+ 0.9 )( 6.8659+1.08 )∗sin ( 2.362 +2.005 ( 2.36 ) ) =3.26 ( 7.9759 )∗sin (

h hR 0.59 0.59∗−19.9090
(
R2=f x 4 + , y 4 + 1 =f 2.36+
2 2 ) (2
,6.8659+
2 )
=f ( 2.655 ,0.9927 )=( 2. 65 5+0.9 ) ( 0.9927

h hR 0.59 0.59∗−1.4211
( 2 2) (
R3=f x 4 + , y 4 + 2 =f 2.36+
2
,6.8659+
2 )
=f ( 2. 6 55 , 6.4467 )=( 2.6 5 5+ 0.9 )( 6.4467

h hR 0.59 0.59∗−5.1603
R =f ( x + , y + ) =f ( 2.36+ )=f ( 2. 6 5 5 ,5.3436 )=( 2. 6 55+ 0.9) (5.3436
3
4 4 4 , 6.8659+
2 2 2 2
h
y ( 2.95 )= y 5= y 4 + ( R1 +2 R2 +2 R 3+ R 4 )
6
0.59
¿ 6.8659+ (−19.9090+2∗−1.4211+2∗−5.1603−4.4040 )=6.8659+ 0.0983(−37.4758)=3.18 08
6

También podría gustarte