Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Taller 2. Ecuaciones
Taller 2. Ecuaciones
Use el método de Euler de orden dos para aproximar la solución de cada uno de los siguientes
problemas de valor inicial y compare los valores de la solución numérica con la solución exacta
(escoja una partición con mínimo 4 puntos).
3y
y' + +2=3 x , 1 ≤ x ≤2 , y ( 1 ) =1, N=4 .
x
Respuesta:
3y
y ' =3 x− −2
x
3y
f ( x , y )=3 x− −2 → f ( x , y )=3 x−3 y x−1−2
x
1 1 3y
f ( x , y )' =3− y ' x −1+3 y 2 → f ( x , y )' =3− y ' + 2
x x x
3y 1 3y 3y 2 3 y
(
f ( x , y )' =3− 3 x−
x x x)
−2 + 2 → f ( x , y )' =3−3+ 2 + + 2
x x x
6y 2
→ f ( x , y )' = 2 +
x x
h2 '
y (t ¿¿ i+1)≈ y (t¿¿ i)+ hf (x i , y i)+ f (x i , y i )t o=α ¿ ¿
2
3 yi h2 ' 6 yi 2
y (t ¿¿ i+1)≈ y (t¿¿ i)+ hf (3 xi − −2)+ f ( 2 + )t o=1 ¿ ¿
xi 2 x i xi
b−a 2−1 3
Tamaño del paso → h= = = =0.75
N 4 4
Malla uniforme →t i=a+ih i=0,1,2,3 … .. N
( 34 )=1 →t =1+( 1) ( 34 )= 74
→ t 0 =1+ ( 0 ) 1 → t 2=1+ ( 2 ) ( 34 )= 52
3 13 3
→ t =1+ (3 ) ( )= → t =0+ ( 4 ) ( ) =2
3 4
4 4 4
7 13
t 1= t 3=
4 4
t 0=1 5 t 4=3
t 2=
2
h2 2
y (t ¿¿ i+1)≈ y (t¿¿ i)+ h(2 xi , y i)+ (2 y i + 4 t i y i)t o=α =1 ¿ ¿
2
3 9
t 0=1 → y (t ¿¿ 0+1)≈ y (t ¿¿ 0)+ (2 t 0 , y 0 )+ (2 y 0 + 4 t 02 y 0 )¿ ¿
4 32
3 9 3 27 67
→ y ( 1 ) ≈ 1+ ( 2 ( 1 ) ( 1 ) ) + ( 2 (1 ) + 4 ( 1 )2 ( 1 ) ) → y ( 1 ) ≈ 1+ + → y ( 1 ) ≈ ≈ 4.1875
4 32 2 16 16
7 3 9
t 1= → y (t ¿¿ 1+1)≈ y (t ¿¿ 1)+ (2 t 1 , y 1)+ (2 y 1 + 4 t 12 y 1) ¿ ¿
4 4 32
2
7 7 3 7 67 9 67 7 67 7 7 1407 34371
→y ()≈ + 2
4 4 4 4 ( ( )( )) ( ( ) ( ) ( )) ( )
16
+
32
2
16
+4
4 16
→y ≈ + +
4 4 128 2048
→y ( 74 )≈ 60467
2048
≈ 29.5054
5 3 9
t 2= → y(t¿¿ 2+1)≈ y (t ¿¿ 2)+ (2t 2 , y 2 )+ (2 y 2+ 4 t 22 y 2 )¿ ¿
2 4 32
2
5 5 3 5 60467
→y ()≈ + 2
2 2 4 2 )) ( ( ) ( ) ( 60467
( ( )( 2048
+
9
32
2
60467
2048 ) )
2048
+4
5
2
5 5 5
→ y ( ) ≈ + 110.64+ 224.06→ y ( ) ≈ 337.2
2 2 2
13 3 9
t 3= → y (t¿¿ 3+1)≈ y(t¿¿ 3)+ (2 t 3 , y 3)+ ( 2 y 3 + 4 t 32 y 3)¿ ¿
4 4 32
13 13 3 13 9 13 2
→y ( ) 4
≈ + 2
4 4 4 (( )
( 337.2 ) +
32
2 ( 337.2 ) + 4
4
( 337.2 ) ) ( ( ) )
→y ( 134 )≈ 134 + 1643.85+ 4196.56 → y ( 134 )≈ 5843.66
3 9
t 4=3 → y (t ¿¿ 4+ 1)≈ y (t¿¿ 4)+ (2 t 4 , y 4)+ (2 y 4+ 4 t 42 y 4 ) ¿¿
4 32
3 9
→ y ( 3 ) ≈ 3+ ( 2 ( 3 ) (5843.66 ) ) + ( 2 (5843.66 )+ 4 ( 3 )2 ( 5 843.66 ) )
4 32
→ y ( 3 ) ≈ 3+26296.65+62454.12 → y ( 3 ) ≈ 88753.77
Solución real:
1
3y 3y 3y ∫ dx
y ' =3 x− −2→ y ' + =3 x−2→ Factor integrante: P ( x )= → e x =e ln∨x∨¿3 y ¿
x x x
ln ∨x ∨¿ (3 x−2 ) dx ln∨x ∨¿ y =∫ ¿ ¿ ¿
ln∨x∨¿ y=∫ e →3 e ¿¿
3
1 2 2 x3
e ln |x|=|x|→∫ (3 x∨x∨−2∨x∨¿)dx →3 ( 2 )
x − −x √ x 2 +C ¿
6
13 1
→ y ( ) → y= ¿ ¿
4 2
1
→ y ( 3 ) → y= ¿ ¿
2