You are on page 1of 1

Método de Euler progresivo

y'=2y+x Sol exacta: y=(y(0)+1/4)*exp(2x)-x/2-1/4
y(0)= 1
h= 0.2 h= 0.01

n x y exacta y Euler error Euler y Euler error Euler
0 0.00 1.00000 1.00000 0.0% 1.00000 0.0%
1 0.01 1.02025 1.02000 0.0%
2 0.02 1.04101 1.40000 34.5% 1.04050 0.0%
3 0.03 1.06230 1.06151 0.1%
4 0.04 1.08411 1.96400 81.2% 1.08304 0.1%
5 0.05 1.10646 1.10510 0.1%
6 0.06 1.12937 2.75760 144.2% 1.12770 0.1%
7 0.07 1.15284 1.15086 0.2%
8 0.08 1.17689 3.87264 229.1% 1.17457 0.2%
9 0.09 1.20152 1.19887 0.2%
10 0.10 1.22675 5.43770 343.3% 1.22374 0.2%

Comparación método de Euler progresivo y solución exacta

Solución Exacta Column F
Column D Column G
Column E

6.00000 70.0%

60.0%
5.00000
50.0%
valor de la solución x(t)

4.00000
error relativo (%)

40.0%

3.00000 30.0%

20.0%
2.00000
10.0%
1.00000
0.0%

0.00000 -10.0%
1 2 3 4 5 6 7 8 9 10 11