You are on page 1of 2

METODO DE EULER PARA SISTEMAS DE ECUACIONES

PROBL
EM
Resolver el sistema:
dy1/dt=3y1y2+t
dy2/dt=y1+c
ost

ALGORITMO PARA EL X
y Y DE EULER:
Yi+1=Yi+h*f(ti,yi)
ti+1=ti+h
Cada ves que el paso
es menor hay menor
error

y1(0)=y2(0)=
1
Solucio
n:
h=
i

0.5
ti
0
1
2
3
4
5

ye1
0
0.5
1
1.5
2
2.5

ye2
1
2
4.25
9.40560436
21.3470397
49.0815426

<<DA
1 TO
2
3.43879128
5.83394243
10.5721132
21.0375596

APLICANDO EULER PARA ECUACIONES DE ORDEN SUPERIOR


RESOLV
:
x''2x'+x=tcostt^2
x(0)=1
x'(0)=2
Solucio
n:
Hacemos
y1=x, y2=x'
dy1/dt
=y2

ALGORITMO PARA EL X
y Y DE EULER:
Yi+1=Yi+h*f(ti,yi)
ti+1=ti+h

Cada ves que el paso


dy2/dt=2y2- es menor hay menor
y1+tcost-t^2 error
y1(0)=
1
y2(0)=
2
h=
i

0.5
ti
0
1
2
3
4

ye1
0
0.5
1
1.5
2

ye2
1
2
3.75
6.79719782
11.839169

2
3.5
6.09439564
10.0839424
15.6973389

De este metodo solo nos importa el valor de t y x=ye1


ti

ye1=x
0
0.5
1
1.5
2

1
2
3.75
6.79719782
11.839169

You might also like