Está en la página 1de 49

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y=x^2+y^2 x0 0.00


Valor inicial y(0)=0 z0 0.00
Aproxim. en x=1 xN 1.00
xN-x0 1.00

Mtodo de Adams-Brashforth 3 (con valores iniciadores de RK-4)

Frmulas utilizadas: n=(xN-x0)/h f(xn,zn)=xn^2+zn^2


xn=x0+n*h
zn+3=zn+2+h*(23*fn+2-16*fn+1+5*fn)/12

h 0.20 N 5.00 h 0.05 N 20.00

n xn zn f(xn,zn) n xn zn f(xn,zn)
0.00 0.00 0.00000000 0.00000000 0.00 0.00 0.00000000 0.00000000
1.00 0.20 0.00266687 0.04000711 1.00 0.05 0.00002344 0.00250000
2.00 0.40 0.01749388 0.16030604 2.00 0.10 0.00026563 0.01000007
3.00 0.60 0.06827596 0.36466161 3.00 0.15 0.00105730 0.02250112
4.00 0.80 0.16864856 0.66844234 4.00 0.20 0.00259907 0.04000676
5.00 1.00 0.34100053 1.11628136 5.00 0.25 0.00514131 0.06252643
6.00 0.30 0.00893508 0.09007984
h 0.10 N 10.00 7.00 0.35 0.01423278 0.12270257
8.00 0.40 0.02128909 0.16045323
n xn zn f(xn,zn) 9.00 0.45 0.03036235 0.20342187
0.00 0.00 0.00000000 0.00000000 10.00 0.50 0.04171636 0.25174025
1.00 0.10 0.00018750 0.01000004 11.00 0.55 0.05562279 0.30559389
2.00 0.20 0.00212513 0.04000452 12.00 0.60 0.07236414 0.36523657
3.00 0.30 0.00845933 0.09007156 13.00 0.65 0.09223764 0.43100778
4.00 0.40 0.02080577 0.16043288 14.00 0.70 0.11555999 0.50335411
5.00 0.50 0.04121272 0.25169849 15.00 0.75 0.14267334 0.58285568
6.00 0.60 0.07181686 0.36515766 16.00 0.80 0.17395273 0.67025955
7.00 0.70 0.11493032 0.50320898 17.00 0.85 0.20981543 0.76652252
8.00 0.80 0.17317846 0.66999078 18.00 0.90 0.25073270 0.87286688
9.00 0.90 0.24971373 0.87235695 19.00 0.95 0.29724468 0.99085440
10.00 1.00 0.34855041 1.12148739 20.00 1.00 0.34997965 1.12248576
Dada la ecuacin diferencial de primer orden y'=y, con la condicin inicial y(0)=1,
aproximar su solucin en x=1 usando los mtodos de Euler y Taylor 2-3-4, con:
h=0,2 h=0,1 h=0,05 h=0,025

h=0,2
x Euler Taylor-2 Taylor-3 Taylor-4 y "exacta"
0 1 1 1 1 1.000000000
0.2 1.2 1.22 1.2213333333 1.2214 1.221402758
0.4 1.44 1.4884 1.4916551111 1.49181796 1.491824698
0.6 1.728 1.815848 1.821808109 1.8221064563 1.822118800
0.8 2.0736 2.2153346 2.2250349705 2.2255208258 2.225540928
1 2.48832 2.70270816 2.7175093773 2.7182511366 2.718281828
Error 0.2299618285 0.01557367 0.0007724512 3.069185E-005

h=0,1
x Euler Taylor-2 Taylor-3 Taylor-4 y "exacta"
0 1 1 1 1 1.000000000
0.1 1.1 1.105 1.1051666667 1.1051708333 1.105170918
0.2 1.21 1.221025 1.2213933611 1.2214025709 1.221402758
0.3 1.331 1.3492326 1.3498432296 1.3498584971 1.349858808
0.4 1.4641 1.4909021 1.4918017426 1.4918242401 1.491824698
0.5 1.61051 1.6474468 1.6486895592 1.6487206386 1.648721271
0.6 1.771561 1.8204287 1.8220767445 1.8221179621 1.822118800
0.7 1.9487171 2.0115737 2.0136984821 2.0137516266 2.013752707
0.8 2.14358881 2.2227889 2.2254724391 2.2255395633 2.225540928
0.9 2.357947691 2.4561818 2.4595179573 2.4596014138 2.459603111
1 2.59374246 2.7140808 2.7181772625 2.7182797441 2.718281828
Error 0.1245393684 0.00420098 0.000104566 2.084324E-006

h=0,05
x Euler Taylor-2 Taylor-3 Taylor-4 y "exacta"
0 1 1 1 1 1.000000000
0.05 1.05 1.05125 1.0512708333 1.0512710938 1.051271096
0.1 1.1025 1.1051266 1.105170365 1.1051709126 1.105170918
0.15 1.157625 1.1617643 1.1618333706 1.161834234 1.161834243
0.2 1.21550625 1.2213047 1.2214015357 1.221402746 1.221402758
0.25 1.276281563 1.2838966 1.2840238103 1.2840254007 1.284025417
0.3 1.340095641 1.3496963 1.3498567811 1.3498587873 1.349858808
0.35 1.407100423 1.4188682 1.4190650631 1.4190675238 1.419067549
0.4 1.477455444 1.4915852 1.4918217114 1.4918246678 1.491824698
0.45 1.551328216 1.568029 1.5683086538 1.5683121502 1.568312185
0.5 1.628894627 1.6483904 1.6487171454 1.6487212295 1.648721271
0.55 1.710339358 1.7328705 1.7332482473 1.7332529702 1.733253018
0.6 1.795856326 1.8216801 1.8221133294 1.8221187458 1.822118800
0.65 1.885649142 1.9150412 1.9155345982 1.9155407668 1.915540829
0.7 1.979931599 2.013187 2.0137456533 2.013752637 2.013752707
0.75 2.078928179 2.1163629 2.1169920711 2.1169999373 2.117000017
0.8 2.182874588 2.2248265 2.2255320187 2.2255408395 2.225540928
0.85 2.292018318 2.3388488 2.3396368999 2.3396467526 2.339646852
0.9 2.406619234 2.4587148 2.4595920335 2.4596030006 2.459603111
0.95 2.526950195 2.584724 2.5856973667 2.5857095366 2.585709659
1 2.6532977051 2.71719105 2.7182682255 2.7182816927 2.718281828
Error 0.0649841233 0.00109077 0.000013603

h=0,025
x Euler Taylor-2 Taylor-3 Taylor-4 y "exacta"
0 1 1 1 1 1.000000000
0.025 1.025 1.0253125 1.0253151042 1.0253151204 1.025315121
0.05 1.050625 1.0512657 1.0512710628 1.0512710962 1.051271096
0.075 1.076890625 1.0778759 1.0778840993 1.0778841506 1.077884151
0.1 1.103812891 1.1051596 1.1051708475 1.1051709177 1.105170918
0.125 1.131408213 1.133134 1.1331483627 1.1331484526 1.133148453
0.15 1.159693418 1.1618164 1.1618341315 1.1618342422 1.161834243
0.175 1.188685754 1.1912249 1.1912460836 1.1912462159 1.191246217
0.2 1.218402898 1.2213778 1.2214026023 1.2214027574 1.221402758
0.225 1.24886297 1.2522939 1.2523225364 1.2523227153 1.252322716
0.25 1.280084544 1.2839926 1.2840252118 1.2840254157 1.284025417
0.275 1.312086658 1.3164937 1.3165304438 1.3165306737 1.316530675
0.3 1.344888824 1.3498174 1.3498585492 1.3498588063 1.349858808
0.325 1.378511045 1.3839847 1.3840303589 1.3840306445 1.384030646
0.35 1.412973821 1.4190168 1.4190672316 1.419067547 1.419067549
0.375 1.448298166 1.4549356 1.4549910664 1.4549914129 1.454991415
0.4 1.484505621 1.4917637 1.4918243168 1.4918246957 1.491824698
0.425 1.521618261 1.529524 1.5295900048 1.5295904176 1.529590420
0.45 1.559658718 1.56824 1.5683117351 1.5683121832 1.568312185
0.475 1.598650186 1.6079361 1.6080137101 1.6080141951 1.608014197
0.5 1.63861644 1.648637 1.6487207446 1.6487212681 1.648721271
0.525 1.679581851 1.6903681 1.690458282 1.6904588455 1.690458848
0.55 1.721571398 1.7331556 1.7332524095 1.7332530148 1.733253018
0.575 1.764610683 1.7770261 1.7771298748 1.7771305237 1.777130527
0.6 1.80872595 1.822007 1.8221181027 1.8221187969 1.822118800
0.625 1.853944098 1.8681266 1.8682452123 1.8682459537 1.868245957
0.65 1.900292701 1.9154135 1.9155400344 1.915540825 1.915540829
0.675 1.947800018 1.9638974 1.96403213 1.9640329717 1.964032976
0.7 1.996495019 2.0136086 2.0137518079 2.013752703 2.013752707
0.725 2.046407394 2.0645781 2.0647301447 2.0647310952 2.064731100
0.75 2.097567579 2.1168377 2.1169990034 2.1170000116 2.117000017
0.775 2.150006769 2.1704202 2.1705910537 2.1705921218 2.170592127
0.8 2.203756938 2.2253589 2.2255397923 2.2255409228 2.225540928
0.825 2.258850861 2.2816883 2.281879564 2.2818807593 2.281880765
0.85 2.315322133 2.3394435 2.3396455828 2.3396468456 2.339646852
0.875 2.373205186 2.3986607 2.3988739545 2.3988752873 2.398875294
0.9 2.432535316 2.4593768 2.4596016985 2.4596031041 2.459603111
0.925 2.493348699 2.5216298 2.5218667717 2.5218682529 2.521868260
0.95 2.555682416 2.5854585 2.5857080917 2.5857096515 2.585709659
0.975 2.619574476 2.650903 2.6511655614 2.6511672027 2.651167211
1 2.685063838 2.7180039 2.7182800938 2.7182818198 2.718281828
Error 0.0332179901 0.00027788 1.734686E-006 0.000000009
nicial y(0)=1, Dada la ecuacin diferencial de primer orden y'=y, con la condicin inicial y(0)=1,
2-3-4, con: aproximar su solucin en x=1 usando mtodos de Runge-Kutta de dos, tres y
cuatro abscisas y rdenes de convergencia respectivos dos, tres y cuatro, para
h=0,2 h=0,1 h=0,05 h=0,025

h=0,2
x Euler RK2 RK3 RK4
0 1 1 1 1
0.2 1.2 1.22 1.22133333 1.2214
0.4 1.44 1.4884 1.49165511 1.49181796
0.6 1.728 1.815848 1.82180811 1.8221064563
0.8 2.0736 2.21533456 2.22503497 2.2255208258
1 2.48832 2.70270816 2.71750938 2.7182511366
Error 0.22996183 0.01557367 0.00077245 3.06919E-005

h=0,1
x Euler RK2 RK3 RK4
0 1 1 1 1
0.1 1.1 1.105 1.10516667 1.1051708333
0.2 1.21 1.221025 1.22139336 1.2214025709
0.3 1.331 1.34923263 1.34984323 1.3498584971
0.4 1.4641 1.49090205 1.49180174 1.4918242401
0.5 1.61051 1.64744677 1.64868956 1.6487206386
0.6 1.771561 1.82042868 1.82207674 1.8221179621
0.7 1.9487171 2.01157369 2.01369848 2.0137516266
0.8 2.14358881 2.22278892 2.22547244 2.2255395633
0.9 2.35794769 2.45618176 2.45951796 2.4596014138
1 2.59374246 2.71408085 2.71817726 2.7182797441
Error 0.12453937 0.00420098 0.00010457 2.08432E-006

h=0,05
x Euler RK2 RK3 RK4
0 1 1 1 1
0.05 1.05 1.05125 1.05127083 1.0512710938
0.1 1.1025 1.10512656 1.10517037 1.1051709126
0.15 1.157625 1.1617643 1.16183337 1.161834234
0.2 1.21550625 1.22130472 1.22140154 1.221402746
0.25 1.27628156 1.28389659 1.28402381 1.2840254007
0.3 1.34009564 1.34969629 1.34985678 1.3498587873
0.35 1.40710042 1.41886822 1.41906506 1.4190675238
0.4 1.47745544 1.49158522 1.49182171 1.4918246678
0.45 1.55132822 1.56802896 1.56830865 1.5683121502
0.5 1.62889463 1.64839044 1.64871715 1.6487212295
0.55 1.71033936 1.73287045 1.73324825 1.7332529702
0.6 1.79585633 1.82168006 1.82211333 1.8221187458
0.65 1.88564914 1.91504117 1.9155346 1.9155407668
0.7 1.9799316 2.01318703 2.01374565 2.013752637
0.75 2.07892818 2.11636286 2.11699207 2.1169999373
0.8 2.18287459 2.22482646 2.22553202 2.2255408395
0.85 2.29201832 2.33884882 2.3396369 2.3396467526
0.9 2.40661923 2.45871482 2.45959203 2.4596030006
0.95 2.5269502 2.58472395 2.58569737 2.5857095366
1 2.65329771 2.71719105 2.71826823 2.7182816927
Error 0.06498412 0.00109077 1.360E-005 1.35803E-007

h=0,025
x Euler Taylor-2 Taylor-3 Taylor-4
0 1 1 1 1
0.025 1.025 1.0253125 1.0253151 1.02531512
0.05 1.050625 1.0512657 1.0512711 1.051271096
0.075 1.0768906 1.0778759 1.0778841 1.077884151
0.1 1.1038129 1.1051596 1.1051708 1.105170918
0.125 1.1314082 1.133134 1.1331484 1.133148453
0.15 1.1596934 1.1618164 1.1618341 1.161834242
0.175 1.1886858 1.1912249 1.1912461 1.191246216
0.2 1.2184029 1.2213778 1.2214026 1.221402757
0.225 1.248863 1.2522939 1.2523225 1.252322715
0.25 1.2800845 1.2839926 1.2840252 1.284025416
0.275 1.3120867 1.3164937 1.3165304 1.316530674
0.3 1.3448888 1.3498174 1.3498585 1.349858806
0.325 1.378511 1.3839847 1.3840304 1.384030645
0.35 1.4129738 1.4190168 1.4190672 1.419067547
0.375 1.4482982 1.4549356 1.4549911 1.454991413
0.4 1.4845056 1.4917637 1.4918243 1.491824696
0.425 1.5216183 1.529524 1.52959 1.529590418
0.45 1.5596587 1.56824 1.5683117 1.568312183
0.475 1.5986502 1.6079361 1.6080137 1.608014195
0.5 1.6386164 1.648637 1.6487207 1.648721268
0.525 1.6795819 1.6903681 1.6904583 1.690458846
0.55 1.7215714 1.7331556 1.7332524 1.733253015
0.575 1.7646107 1.7770261 1.7771299 1.777130524
0.6 1.8087259 1.822007 1.8221181 1.822118797
0.625 1.8539441 1.8681266 1.8682452 1.868245954
0.65 1.9002927 1.9154135 1.91554 1.915540825
0.675 1.9478 1.9638974 1.9640321 1.964032972
0.7 1.996495 2.0136086 2.0137518 2.013752703
0.725 2.0464074 2.0645781 2.0647301 2.064731095
0.75 2.0975676 2.1168377 2.116999 2.117000012
0.775 2.1500068 2.1704202 2.1705911 2.170592122
0.8 2.2037569 2.2253589 2.2255398 2.225540923
0.825 2.2588509 2.2816883 2.2818796 2.281880759
0.85 2.3153221 2.3394435 2.3396456 2.339646846
0.875 2.3732052 2.3986607 2.398874 2.398875287
0.9 2.4325353 2.4593768 2.4596017 2.459603104
0.925 2.4933487 2.5216298 2.5218668 2.521868253
0.95 2.5556824 2.5854585 2.5857081 2.585709651
0.975 2.6195745 2.650903 2.6511656 2.651167203
1 2.6850638 2.7180039 2.7182801 2.71828182
Error 0.03321799 0.00027788 1.735E-006 0.000000009
y, con la condicin inicial y(0)=1,
e Runge-Kutta de dos, tres y
ectivos dos, tres y cuatro, para

Solucin aproximada del p.v.i. y'=y, con la condicin inicial y(0)=1, en x=


y "exacta" Comparacin de los valores obtenidos con los diferentes mtodos
1
1.2214027582 h Euler Taylor-2 RK2 Taylor-3 RK3
1.4918246976 0.2 2.48832 2.7027081632 2.7175093773
1.8221188004 0.1 2.59374246 2.7140808466 2.7181772625
2.2255409285 0.05 2.65329771 2.7171910544 2.7182682255
2.7182818285 0.025 2.6850638 2.7180039444 2.7182800938

y "exacta"
1
1.1051709181
1.2214027582
1.3498588076
1.4918246976
1.6487212707
1.8221188004
2.0137527075
2.2255409285
2.4596031112
2.7182818285

y "exacta"
1
1.0512710964
1.1051709181
1.1618342427
1.2214027582
1.2840254167
1.3498588076
1.4190675486
1.4918246976
1.5683121855
1.6487212707
1.7332530179
1.8221188004
1.915540829
2.0137527075
2.1170000166
2.2255409285
2.3396468519
2.4596031112
2.5857096593
2.7182818285

y "exacta"
1.000000000
1.025315121
1.051271096
1.077884151
1.105170918
1.133148453
1.161834243
1.191246217
1.221402758
1.252322716
1.284025417
1.316530675
1.349858808
1.384030646
1.419067549
1.454991415
1.491824698
1.529590420
1.568312185
1.608014197
1.648721271
1.690458848
1.733253018
1.777130527
1.822118800
1.868245957
1.915540829
1.964032976
2.013752707
2.064731100
2.117000017
2.170592127
2.225540928
2.281880765
2.339646852
2.398875294
2.459603111
2.521868260
2.585709659
2.651167211
2.718281828
Dada la ecuacin diferencial y'=y, con la condici
su solucin en x=1 usando mtodos de Adams- B
como valores de arranque los obtenidos con los
cada caso, para h=0,2

dicin inicial y(0)=1, en x=1 h=0,2


diferentes mtodos x A.B. 2 + E A.B.3 +E
0 1 1
Taylor-4 RK4 y "exacta" 0.2 1.2 1.2
2.7182511366 2.718281828 0.4 1.46 1.44
2.7182797441 0.6 1.778 1.75533333
2.7182816927 0.8 2.1654 2.14421111
2.7182818198 1 2.63722 2.61806981
Error 0.08106183 0.10021201

h=0,1
x A.B. 2 + E A.B.3 +E
0 1 1
0.1 1.1 1.1
0.2 1.215 1.21
0.3 1.34225 1.33691667
0.4 1.4828375 1.47765903
0.5 1.63815063 1.63303812
0.6 1.80973134 1.80472075
0.7 1.99928351 1.99445627
0.8 2.20868947 2.20414088
0.9 2.44002872 2.43587041
1 2.69559855 2.69196246
Error 0.02268327 0.02631937

h=0,05
x A.B. 2 + E A.B.3 +E
0 1 1
0.05 1.05 1.05
0.1 1.10375 1.1025
0.15 1.16028125 1.15898958
0.2 1.21970859 1.21843442
0.25 1.28217971 1.28090383
0.3 1.34785047 1.34657377
0.35 1.41688476 1.41561088
0.4 1.48945486 1.4881875
0.45 1.56574185 1.56448503
0.5 1.64593612 1.64469424
0.55 1.73023778 1.72901568
0.6 1.81885721 1.81766017
0.65 1.91201556 1.91084935
0.7 2.0099453 2.00881623
0.75 2.11289081 2.11180575
0.8 2.22110898 2.22007541
0.85 2.33486989 2.33389593
0.9 2.4544574 2.45355188
0.95 2.58016996 2.57934245
1 2.71232128 2.71158214
Error 0.00596055 0.00669969
ncial y'=y, con la condicin inicial y(0)=1, aproximar
ndo mtodos de Adams- Bashforth (k=2,3,4) y tomando
ue los obtenidos con los mtodos indicados en
h=0,1 h=0,05

h=0,2
A.B.4 +E A.B.4 +RK4 y
1 1 1
1.2 1.2214 1.2214027582
1.44 1.49181796 1.4918246976
1.728 1.8221064563 1.8221188004
2.107 2.2253597518 2.2255409285
2.57710833 2.7178195014 2.7182818285
0.1411735 0.0004623271

h=0,1
A.B.4 +E A.B.4 +RK4 y
1 1 1
1.1 1.1051708333 1.1051709181
1.21 1.2214025709 1.2214027582
1.331 1.3498584971 1.3498588076
1.47064583 1.4918201074 1.4918246976
1.62575634 1.6487109916 1.6487212707
1.79661256 1.8221020727 1.8221188004
1.98548324 2.0137282518 2.0137527075
2.19431078 2.2255072405 2.2255409285
2.42508761 2.4595585286 2.4596031112
2.68012448 2.7182244392 2.7182818285
0.03815734 5.738928E-005

h=0,05
A.B.4 +E A.B.4 +RK4 y
1 1 1
1.05 1.0512710938 1.0512710964
1.1025 1.1051709126 1.1051709181
1.157625 1.161834234 1.1618342427
1.21694141 1.2214026288 1.2214027582
1.27938808 1.2840251469 1.2840254167
1.34496397 1.3498583895 1.3498588076
1.41391673 1.4190669664 1.4190675486
1.48641139 1.491823935 1.4918246976
1.5626212 1.5683112257 1.5683121855
1.64273816 1.6487200954 1.6487212707
1.72696299 1.7332516076 1.7332530179
1.8155061 1.8221171341 1.8221188004
1.90858889 1.9155388842 1.915540829
2.00644414 2.0137504599 2.0137527075
2.10931652 2.1169974403 2.1170000166
2.21746326 2.2255379957 2.2255409285
2.3311548 2.3396435329 2.3396468519
2.45067541 2.459599374 2.4596031112
2.57632397 2.5857054698 2.5857096593
2.70841465 2.7182771501 2.7182818285
0.00986718 4.678377E-006
Dada la ecuacin diferencial de primer orden y'=2xy, con la condicin inicial y(1)=1,
aproximar su solucin en x=2 usando Euler y Taylor 2-3, con:
h=0,2 h=0,1 h=0,05

h=0,2
x Euler Euler Mejor. Taylor-2 Taylor-3 y "exacta"
1 1 1 1 1 1
1.2 1.4 1.536 1.52 1.5466667 1.5527072
1.4 2.072 2.5411584 2.485504
2.5873135 2.6116965
1.6 3.23232 4.521229 4.3665334
4.6790771 4.7588212
1.8 5.3010048 8.6373559 8.2300422
9.1433409 9.3933313
2 9.1177283 17.689305 16.618101 19.294351 20.085537
Error 10.967809 2.3962323.4674357 0.7911858
h=0,1
x Euler Euler Mejor. Taylor-2 Taylor-3 y "exacta"
1 1 1 1 1 1
1.1 1.2 1.232 1.23 1.2333333 1.2336781
1.2 1.464 1.5478848 1.542666 1.5517488 1.5527072
1.3 1.81536 1.98315 1.9727613 1.9916757 1.9937155
1.4 2.2873536 2.5907872 2.5720862 2.6077595 2.6116965
1.5 2.9278126 3.4509285 3.4188169 3.4830765 3.490343
1.6 3.8061564 4.6863609 4.6324969 4.7456918 4.7588212
1.7 5.0241264 6.487798 6.3984048 6.5958535 6.6193687
1.8 6.7323294 9.1555806 9.0076742 9.3512757 9.3933313
1.9 9.155968 13.169387 12.924211 13.52359 13.599051
2 12.635236 19.306322 18.897781 19.949261 20.085537
Error 7.4503011 0.7792154 1.1877556 0.1362756
h=0,05
x Euler Euler Mejor. Taylor-2 Taylor-3 y "exacta"
1 1 1 1 1 1
1.05 1.1 1.10775 1.1075 1.1079167 1.1079373
1.1 1.2155 1.2332304 1.2326613 1.2336297 1.2336781
1.15 1.349205 1.379769 1.3787933 1.3804894 1.3805749
1.2 1.5043636 1.5514122 1.5499188 1.5525722 1.5527072
1.25 1.6848872 1.7530958 1.7509433 1.7548537 1.7550547
1.3 1.8954981 1.9908595 1.9878678 1.993427 1.9937155
1.35 2.1419129 2.2721181 2.2680578 2.2757783 2.2761832
1.4 2.4310711 2.6060059 2.6005834 2.6111372 2.6116965
1.45 2.771421 3.0038127 2.9966523 3.0109214 3.0116858
1.5 3.1732771 3.4795415 3.4701608 3.489306 3.490343
1.55 3.6492687 4.0506213 4.0383996 4.063951 4.0653506
1.6 4.2149053 4.7388218 4.7229588 4.7569386 4.7588212
1.65 4.8892902 5.5714328 5.5508935 5.5959801 5.5985073
1.7 5.696023 6.5827872 6.5562297 6.61598 6.6193687
1.75 6.6643469 7.8162369 7.7819169 7.8610667 7.8656093
1.8 7.8306077 9.3267247 9.2823677 9.3872395 9.3933313
1.85 9.240117 11.184142 11.126774 11.265833 11.274009
1.9 10.949539 13.47773 13.403451 13.588062 13.599051
1.95 13.029951 16.321868 16.225548 16.471016 16.48581
2 15.570792 19.863713 19.738582 20.065582 20.085537
Error 4.5147454 0.2218239 0.3469551 0.0199554
condicin inicial y(1)=1, Dada la ecuacin diferencial de primer orden y'=2xy, con
aproximar su solucin en x=2 usando mtodos de Runge
h=0,2 h=0,1 h=0,05

h=0,2
x Euler Euler Mejor.
1 1 1
1.2 1.4 1.536
1.4 2.072 2.5411584
1.6 3.23232 4.521229
1.8 5.3010048 8.6373559
2 9.1177283 17.689305
Error 10.967809 2.396232
h=0,1
x Euler Euler Mejor.
1 1 1
1.1 1.2 1.232
1.2 1.464 1.5478848
1.3 1.81536 1.98315
1.4 2.2873536 2.5907872
1.5 2.9278126 3.4509285
1.6 3.8061564 4.6863609
1.7 5.0241264 6.487798
1.8 6.7323294 9.1555806
1.9 9.155968 13.169387
2 12.635236 19.306322
Error 7.4503011 0.7792154
h=0,05
x Euler Euler Mejor.
1 1 1
1.05 1.1 1.10775
1.1 1.2155 1.2332304
1.15 1.349205 1.379769
1.2 1.5043636 1.5514122
1.25 1.6848872 1.7530958
1.3 1.8954981 1.9908595
1.35 2.1419129 2.2721181
1.4 2.4310711 2.6060059
1.45 2.771421 3.0038127
1.5 3.1732771 3.4795415
1.55 3.6492687 4.0506213
1.6 4.2149053 4.7388218
1.65 4.8892902 5.5714328
1.7 5.696023 6.5827872
1.75 6.6643469 7.8162369
1.8 7.8306077 9.3267247
1.85 9.240117 11.184142
1.9 10.949539 13.47773
1.95 13.029951 16.321868
2 15.570792 19.863713
Error 4.5147454 0.2218239
ncial de primer orden y'=2xy, con la condicin inicial y(1)=1,
n x=2 usando mtodos de Runge-Kutta, con:

Solucin aproximada del p.v.i. y'=2xy, con la


h=0,2 Comparacin de los valores obtenidos con lo
RK3 (Heun) RK4 y "exacta"
1 1 1 x=2 h
1.5496059 1.5525461 1.5527072 0.2
2.598269 2.6108596 2.6116965 0.1
4.7119466 4.755357 4.7588212 0.05
9.23737 9.3798629 9.3933313
19.564766 20.033746 20.085537
0.5207709 0.0517906
h=0,1
RK3 (Heun) RK4 y "exacta"
1 1 1
1.2335141 1.2336744 1.2336781
1.552234 1.5526954 1.5527072 Solucin aproximada del p.v.i. y'=2xy, con la
1.9926711 1.9936868 1.9937155 Comparacin de los valores obtenidos con lo
2.609608 2.6116332 2.6116965
3.4863543 3.4902106 3.490343 x=2 h
4.7513741 4.7585517 4.7588212 0.2
6.6056066 6.6188274 6.6193687 0.1
9.3679754 9.3922523 9.3933313 0.05
13.552254 13.596905 13.599051
19.998747 20.081267 20.085537
0.0867903 0.0042701
h=0,05
RK3 (Heun) RK4 y "exacta"
1 1 1
1.1079279 1.1079372 1.1079373
1.2336555 1.2336778 1.2336781
1.3805343 1.3805744 1.3805749
1.5526419 1.5527064 1.5527072
1.7549556 1.7550534 1.7550547
1.9935707 1.9937136 1.9937155
2.2759762 2.2761803 2.2761832
2.6114054 2.6116921 2.6116965
3.0112809 3.0116795 3.0116858
3.4897841 3.4903338 3.490343
4.0645836 4.0653375 4.0653506
4.7577722 4.7588025
4.7588212
5.5970762 5.5984805
5.5985073
6.6174193 6.6193307
6.6193687
7.8629556 7.8655554
7.8656093
9.389719 9.3932559.3933313
11.26909 11.273901
11.274009
13.592345 13.598898
13.599051
16.476657 16.485594
16.48581
20.073024 20.085231 20.085537
0.012513 0.0003064
Dada la ecuacin diferencial
su solucin en x=1 usando m
como valores de arranque lo
cada caso, para

oximada del p.v.i. y'=2xy, con la condicin inicial y(1)=1, en x=2


n de los valores obtenidos con los diferentes mtodos x
0
Euler Euler Mej. Taylor-2 Taylor-3 y "exacta" 0.2
9.11772826 17.6893049 16.6181012 19.2943511 20.085536923 0.4
12.6352359 19.3063215 18.8977813 19.9492613 0.6
15.5707915 19.863713 19.7385819 20.0655816 0.8
1
Error

x
0
0.1
oximada del p.v.i. y'=2xy, con la condicin inicial y(1)=1, en x=2 0.2
n de los valores obtenidos con los diferentes mtodos 0.3
0.4
Euler Euler Mej. RK3 (Heun) RK4 y "exacta" 0.5
9.11772826 17.6893049 19.564766 20.0337463 20.085536923 0.6
12.6352359 19.3063215 19.9987467 20.0812668 0.7
15.5707915 19.863713 20.0730239 20.0852306 0.8
0.9
1
Error

x
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
0.45
0.5
0.55
0.6
0.65
0.7
0.75
0.8
0.85
0.9
0.95
1
Error
Dada la ecuacin diferencial y'=2xy, con la condicin inicial y(0)=1, aproximar
su solucin en x=1 usando mtodos de Adams- Bashforth (k=2,3,4) y tomando
como valores de arranque los obtenidos con los mtodos indicados en
cada caso, para h=0,2 h=0,1 h=0,05

h=0,2
A.B. 2 + E A.B.3 +E A.B.4 +E A.B.4 +RK4 y
1 1 1 1 1
1 1 1 1.0408107 1.04081077
1.12 1.08 1.08 1.1735095 1.17351087
1.3488 1.30453333 1.2528 1.4333214 1.43332941
1.744768 1.707552 1.64037333 1.88843442 1.89648088
2.42040064 2.40939989 2.34056178 2.68586806 2.71828183
0.29788119 0.30888194 0.37772005 0.03241377

h=0,1
A.B. 2 + E A.B.3 +E A.B.4 +E A.B.4 +RK4 y
1 1 1 1 1
1 1 1 1.01005017 1.01005017
1.03 1.02 1.02 1.04081077 1.04081077
1.0818 1.07153333 1.0608 1.09417427 1.09417428
1.158562 1.148693 1.13719333 1.17342005 1.17351087
1.26513544 1.25610326 1.24461078 1.28376431 1.28402542
1.40856328 1.40111746 1.38901006 1.43278664 1.43332941
1.59884789 1.59418381 1.58140685 1.6313138 1.63231622
1.85009215 1.85011531 1.83677861 1.89473264 1.89648088
2.18219492 2.1899589 2.17629054 2.24494848 2.24790799
2.62338018 2.64379751 2.63035899 2.71334472 2.71828183
0.09490165 0.07448432 0.08792284 0.00493711

h=0,05
A.B. 2 + E A.B.3 +E A.B.4 +E A.B.4 +RK4 y
1 1 1 1 1
1 1 1 1.00250313 1.00250313
1.0075 1.005 1.005 1.01005017 1.01005017
1.0201125 1.01759583 1.01505 1.02275503 1.02275503
1.03802753 1.03553505 1.03294443 1.04080947 1.04081077
1.06151751 1.05906614 1.05647649 1.06449106 1.06449446
1.09094414 1.08855877 1.08592164 1.09416791 1.09417428
1.12676766 1.12447815 1.12178893 1.13030874 1.13031912
1.1695588 1.16740148 1.16465031 1.17349522 1.17351087
1.2200139 1.2180336 1.21520875 1.22443763 1.22446009
1.27897366 1.27722622 1.27431644 1.28399425 1.28402542
1.34744637 1.34600174 1.34299602 1.35319542 1.35323768
1.42663635 1.42558248 1.4224701 1.43327306 1.43332941
1.51797885 1.51742655 1.5141974 1.52569698 1.52577122
1.6231827 1.62327188 1.61991682 1.63221929 1.63231622
1.74428257 1.74519012 1.74170154 1.75492891 1.75505466
1.88370296 1.88565279 1.88202543 1.89631848 1.89648088
2.04433672 2.04761264 2.04384466 2.05936666 2.05957572
2.22964154 2.23460375 2.23069833 2.24763938 2.24790799
2.44375883 2.45086523 2.4468326 2.46541509 2.46575981
2.6916606 2.7014941 2.69735449 2.71783957 2.71828183
0.02662123 0.01678772 0.02092734 0.00044226
Estabilidad absoluta y relativa

Dada la ecuacin diferencial de primer orden y'=y, con la condicin inicial y(0)=1,
aproximar su solucin en x = 20 usando el mtodo de Euler_Mejorado, con:

x Euler Mejor. Error Error / y_n Euler Mejor. Error Error / y_n Euler Mejor. Error
h=0,1 h=0,01 h=0,001

0 1 0 0 1 0 0 1 0
1 2.7140808 0.0042009819 0.0015454549 2.7182368626 4.49659E-005 0.000016542 2.7182813758 4.5271E-007
2 7.3662348 0.022821257 0.0030885213 7.388811641 0.000244458 3.30838E-005 7.3890536378 2.4612E-006
3 19.992557 0.0929800271 0.004629203 20.084540173 0.0009967502 4.96253E-005 20.085526888 1.0035E-005
4 54.261416 0.3367342867 0.0061675036 54.5945374659 0.0036125673 6.61665E-005 54.598113662 3.6371E-005
5 147.26987 1.1432899154 0.0077034269 148.400884234 0.0122748684 8.27074E-005 148.41303552 0.000123585
6 399.70233 3.7264622494 0.0092369764 403.388753962 0.0400395309 9.92481E-005 403.42839037 0.000403126
7 1084.8244 11.808716856 0.0107681559 1096.50618096 0.1269774673 0.0001157885 1096.63188 0.001278446
8 2944.3012 36.656748238 0.0122969691 2980.56352111 0.3944659282 0.0001323286 2980.9540154 0.003971629
9 7991.0716 112.01232869 0.0138234195 8101.87763429 1.2062932831 0.0001488684 8103.0717821 0.012145507
10 21688.414 338.05142441 0.0153475109 22022.8224415 3.6433533231 0.000165408 22026.429112 0.036683233
11 58864.11 1010.0316792 0.0168692469 59863.2477781 10.893937144 0.0001819473 59874.032028 0.109686892
12 159761.95 2992.8378176 0.0183886311 162722.486823 32.304596135 0.0001984863 162754.46615 0.325265302
13 433606.86 8806.5337228 0.0199056671 442318.262049 95.129959565 0.000215025 442412.43417 0.957842909
14 1176844.1 25760.215132 0.0214203587 1202325.80489 278.47927875 0.0002315635 1202601.4802 2.803970354
15 3194049.9 74967.425267 0.0229327094 3268206.32365 811.04882381 0.0002481017 3269009.2061 8.166408243
16 8668909.8 217200.73569 0.0244427227 8883758.90339 2351.6171154 0.0002646396 8886086.842 23.67850377
17 23528122 626830.74562 0.0259504025 24148160.9293 6791.8242784 0.0002811773 24154884.366 68.38764373
18 63857225 1802743.8389 0.0274557522 65640421.201 19547.936285 0.0002977147 65659772.305 196.831984
19 173313672 5168628.8631 0.0289587754 178426212.583 56088.38054 0.0003142518 178481736.19 564.7694697
20 470387318 14777877.508 0.0304594758 485004708.289 160487.12067 0.0003307886 485163579.41 1616.002588

Dada la ecuacin diferencial de primer orden y'=y, con la condicin inicial y(0)=1,
aproximar su solucin en x = - 20 usando el mtodo de Euler_Mejorado, con:

x Euler Mejor. Error Error / y_n Euler Mejor. Error Error / y_n Euler Mejor. Error
h=0,1 h=0,01 h=0,001

0 1 0 0 1 0 0 1 0
-1 0.368541 -0.0006615437 -0.0017982621 0.3678856187 -6.17754E-006 -1.67923E-005 0.3678795025 -6.136E-008
-2 0.1358225 -0.0004871743 -0.003599758 0.1353398285 -4.54522E-006 -3.35849E-005 0.1353353284 -4.515E-008
-3 0.0500561 -0.0002690739 -0.0054044934 0.0497895765 -2.50816E-006 -5.03778E-005 0.0497870933 -2.491E-008
-4 0.0184477 -0.0001321011 -0.0072124742 0.0183168692 -1.23028E-006 -6.71709E-005 0.0183156511 -1.222E-008
-5 0.0067987 -6.08013E-005 -0.0090237062 0.0067385127 -5.65747E-007 -8.39644E-005 0.0067379526 -5.619E-009
-6 0.0025056 -2.68652E-005 -0.0108381954 0.0024790019 -2.49754E-007 -0.000100758 0.0024787547 -2.481E-009
-7 0.0009234 -1.15407E-005 -0.0126559474 0.0009119892 -1.07194E-007 -0.0001175521 0.000911883 -1.065E-009
-8 0.0003403 -4.85648E-006 -0.0144769682 0.0003355077 -4.50682E-008 -0.000134346 0.0003354631 -4.476E-010
-9 0.0001254 -2.01174E-006 -0.0163012637 0.0001234285 -1.86523E-008 -0.0001511409 0.00012341 -1.853E-010
-10 4.622E-005 -0.000000823 -0.0181288398 4.540755E-005 -7.62427E-009 -0.000167936 0.0000454 -7.572E-011
-11 1.704E-005 -3.33361E-007 -0.0199597023 1.670479E-005 -3.08532E-009 -0.000184731 1.67017E-005 -3.064E-011
-12 6.278E-006 -1.33906E-007 -0.0217938572 6.145451E-006 -1.23822E-009 -0.000201526 6.14422E-006 -1.230E-011
-13 2.314E-006 -5.34145E-008 -0.0236313104 2.260823E-006 -4.93480E-010 -0.000218322 2.26033E-006 -4.901E-012
-14 8.527E-007 -2.11808E-008 -0.0254720678 8.317242E-007 -1.95507E-010 -0.000235118 8.31531E-007 -1.942E-012
-15 3.143E-007 -8.35607E-009 -0.0273161353 0.000000306 -7.70611E-011 -0.000251914 3.05903E-007 -7.653E-013
-16 1.158E-007 -3.28192E-009 -0.029163519 1.125654E-007 -3.02394E-011 -0.000268711 1.12535E-007 -3.003E-013
-17 4.268E-008 -1.28397E-009 -0.0310142248 4.141120E-008 -1.18198E-011 -0.000285508 4.13995E-008 -1.174E-013
-18 1.573E-008 -5.00583E-010 -0.0328682586 1.523458E-008 -4.60409E-012 -0.000302305 1.52300E-008 -4.572E-014
-19 5.797E-009 -1.94561E-010 -0.0347256265 5.604584E-009 -1.78786E-012 -0.000319102 5.60281E-009 -1.776E-014
-20 2.137E-009 -7.54101E-011 -0.0365863344 2.061846E-009 -6.92341E-013 -0.0003359 2.06116E-009 -6.876E-015

Dada la ecuacin diferencial de primer orden y'= - y, con la condicin inicial y(0)=1,
aproximar su solucin en x = 20 usando el mtodo de Euler_Mejorado, con:

x Euler Mejor. Error Error / y_n Euler Mejor. Error Error / y_n Euler Mejor. Error
h=1 h=0,1 h=0,01

0 1 0 0 1 0 0 1 0
1 0.5 -0.1321205588 -0.3591409142 0.3685409848 -0.000661544 -0.001798262 0.3678856187 -6.178E-006
2 0.25 -0.1146647168 -0.8472640247 0.1358224575 -0.000487174 -0.003599758 0.1353398285 -4.545E-006
3 0.125 -0.0752129316 -1.5106921154 0.0500561423 -0.000269074 -0.005404493 0.0497895765 -2.508E-006
4 0.0625 -0.0441843611 -2.4123843771 0.01844774 -0.0001321011 -0.007212474 0.0183168692 -1.230E-006
5 0.03125 -0.024512053 -3.637911222 0.0067987483 -6.08013E-005 -0.009023706 0.0067385127 -5.657E-007
6 0.015625 -0.0131462478 -5.3035748983 0.0025056174 -2.68652E-005 -0.010838195 0.0024790019 -2.498E-007
7 0.0078125 -0.006900618 -7.5674465502 0.0009234227 -1.15407E-005 -0.012655947 0.0009119892 -1.072E-007
8 0.0039063 -0.0035707874 -10.6443671369 0.0003403191 -4.85648E-006 -0.014476968 0.0003355077 -4.507E-008
9 0.0019531 -0.0018297152 -14.826335796 0.0001254215 -2.01174E-006 -0.016301264 0.0001234285 -1.865E-008
10 0.0009766 -0.0009311626 -20.5102205027 0.000046223 -0.000000823 -0.01812884 4.54076E-005 -7.624E-009
11 0.0004883 -0.0004715795 -28.2354207594 1.703506E-005 -3.33361E-007 -0.019959702 1.67048E-005 -3.085E-009
12 0.0002441 -0.0002379964 -38.7350564988 6.278118E-006 -1.33906E-007 -0.021793857 6.14545E-006 -1.238E-009
13 0.0001221 -0.00011981 -53.0055410167 2.313744E-006 -5.34145E-008 -0.02363131 2.26082E-006 -4.935E-010
14 6.104E-005 -6.02036E-005 -72.4011403909 8.527095E-007 -2.11808E-008 -0.025472068 8.31724E-007 -1.955E-010
15 3.052E-005 -3.02117E-005 -98.7624930564 3.142584E-007 -8.35607E-009 -0.027316135 0.000000306 -7.706E-011
16 1.526E-005 -1.51463E-005 -134.591286018 1.158171E-007 -3.28192E-009 -0.029163519 1.12565E-007 -3.024E-011
17 7.629E-006 -0.000007588 -183.287664441 4.268335E-008 -1.28397E-009 -0.031014225 4.14112E-008 -1.182E-011
18 3.815E-006 -3.79947E-006 -249.472904729 1.573056E-008 -5.00583E-010 -0.032868259 1.52346E-008 -4.604E-012
19 1.907E-006 -1.90175E-006 -339.427972723 5.797357E-009 -1.94561E-010 -0.034725626 5.60458E-009 -1.788E-012
20 9.537E-007 -9.51613E-007 -461.689586077 2.136564E-009 -7.54101E-011 -0.036586334 2.06185E-009 -6.923E-013
Dada la ecuacin diferencial de primer orden y'= -30 y, con la condicin inicial y(0)=1,
aproximar su solucin en x = 20 usando el mtodo de Euler_Mejorado, con:

x Euler Mejor. Error Euler Mejor. Error Euler Mejor. Error Euler Mejor.
h=1 h=0,1 h=0,01 h=0,001

0 1 0 1 0 1 0 1
1 421 -421 9536.74316406 -9536.743164 1.64296E-013 -7.0720E-014 9.4008E-014
2 177241 -177241 90949470.1773 -90949470.18 2.69932E-026 -1.8237E-026 8.8375E-027
3 74618461 -74618461 867361737988 -8.6736E+011 4.43488E-039 -3.6155E-039 8.3079E-040
4 31414372081 -31414372081 8.27181E+015 -8.2718E+015 7.28633E-052 -6.5196E-052 7.8101E-053
5 1.32255E+013 -1.322545E+013 7.88861E+019 -7.8886E+019 1.19712E-064 -1.1254E-064 7.3421E-066
6 5.56791E+015 -5.567915E+015 7.52316E+023 -7.5232E+023 1.96682E-077 -1.8997E-077 6.9022E-079
7 2.34409E+018 -2.344092E+018 7.17465E+027 -7.1746E+027 3.23140E-090 -3.1686E-090 6.4886E-092
8 9.86863E+020 -9.868628E+020 6.84228E+031 -6.8423E+031 5.30907E-103 -5.2503E-103 6.0998E-105
9 4.15469E+023 -4.154692E+023 6.52530E+035 -6.5253E+035 8.72259E-116 -8.6676E-116 5.7343E-118
10 1.74913E+026 -1.749125E+026 6.22302E+039 -6.2230E+039 1.43309E-128 -1.4279E-128 5.3907E-131
11 7.36382E+028 -7.363818E+028 5.93473E+043 -5.9347E+043 2.35451E-141 -2.3497E-141 5.0677E-144
12 3.10017E+031 -3.100167E+031 5.65980E+047 -5.6598E+047 3.86836E-154 -3.8639E-154 4.7640E-157
13 1.30517E+034 -1.305170E+034 5.39761E+051 -5.3976E+051 6.35557E-167 -6.3514E-167 4.4785E-170
14 5.49477E+036 -5.494768E+036 5.14756E+055 -5.1476E+055 1.04420E-179 -1.0438E-179 4.2102E-183
15 2.31330E+039 -2.313297E+039 4.90909E+059 -4.9091E+059 1.71557E-192 -1.7152E-192 3.9579E-196
16 9.73898E+041 -9.738981E+041 4.68168E+063 -4.6817E+063 2.81862E-205 -2.8183E-205 3.7207E-209
17 4.10011E+044 -4.100111E+044 4.46479E+067 -4.4648E+067 4.63088E-218 -4.6306E-218 3.4978E-222
18 1.72615E+047 -1.726147E+047 4.25796E+071 -4.2580E+071 7.60836E-231 -7.6081E-231 3.2882E-235
19 7.26708E+049 -7.267078E+049 4.06071E+075 -4.0607E+075 1.25002E-243 -1.2500E-243 3.0912E-248
20 3.05944E+052 -3.059440E+052 3.87259E+079 -3.8726E+079 2.05374E-256 -2.0537E-256 2.9059E-261

Error relativo en x=20 -1.489692E+308 1,4611E+340 -77487.03334


Error / y_n y "exacta"

0 1
1.665E-007 2.7182818285
3.331E-007 7.3890560989
4.996E-007 20.085536923
6.662E-007 54.598150033
8.327E-007 148.4131591
9.993E-007 403.42879349
1.166E-006 1096.6331584
1.332E-006 2980.957987
1.499E-006 8103.0839276
1.665E-006 22026.465795
1.832E-006 59874.141715
1.998E-006 162754.79142
2.165E-006 442413.39201
2.332E-006 1202604.2842
2.498E-006 3269017.3725
2.665E-006 8886110.5205
2.831E-006 24154952.754
2.998E-006 65659969.137
3.164E-006 178482300.96
3.331E-006 485165195.41

Error / y_n y "exacta"

0 1
-1.668E-007 0.3678794412
-3.336E-007 0.1353352832
-5.004E-007 0.0497870684
-6.672E-007 0.0183156389
-8.340E-007 0.006737947
-1.001E-006 0.0024787522
-1.168E-006 0.000911882
-1.334E-006 0.0003354626
-1.501E-006 0.0001234098
-1.668E-006 4.53999E-005
-1.835E-006 1.67017E-005
-2.002E-006 6.14421E-006
-2.168E-006 2.26033E-006
-2.335E-006 8.31529E-007
-2.502E-006 3.05902E-007
-2.669E-006 1.12535E-007
-2.835E-006 4.13994E-008
-3.002E-006 1.52300E-008
-3.169E-006 5.60280E-009
-3.336E-006 2.06115E-009

Error / y_n y "exacta"


0 1
-1.679E-005 0.3678794412
-3.358E-005 0.1353352832
-5.038E-005 0.0497870684
-6.717E-005 0.0183156389
-8.396E-005 0.006737947
-0.00010076 0.0024787522
-0.00011755 0.000911882
-0.00013435 0.0003354626
-0.00015114 0.0001234098
-0.00016794 4.53999E-005
-0.00018473 1.67017E-005
-0.00020153 6.14421E-006
-0.00021832 2.26033E-006
-0.00023512 8.31529E-007
-0.00025191 3.05902E-007
-0.00026871 1.12535E-007
-0.00028551 4.13994E-008
-0.0003023 1.52300E-008
-0.0003191 5.60280E-009
-0.0003359 2.06115E-009
Error y "exacta"

0 1
-4.317E-016 9.35762E-014
-8.098E-029 8.75651E-027
-1.139E-041 8.19401E-040
-1.425E-054 7.66765E-053
-1.670E-067 7.17510E-066
-1.880E-080 6.71418E-079
-2.057E-093 6.28288E-092
-2.205E-106 5.87928E-105
-2.327E-119 5.50161E-118
-2.425E-132 5.14820E-131
-2.502E-145 4.81749E-144
-2.560E-158 4.50803E-157
-2.601E-171 4.21844E-170
-2.627E-184 3.94746E-183
-2.640E-197 3.69388E-196
-2.641E-210 3.45660E-209
-2.632E-223 3.23455E-222
-2.614E-236 3.02677E-235
-2.588E-249 2.83234E-248
-2.555E-262 2.65040E-261

-0.09641887
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y+x*y-y+2y=x-3 Cambio de incgnitas


Valor inicial y(0)=0
Valor inicial y(0)=0 y=y1
Valor inicial y(0)=1 y=y2
Aproxim. en x=1 y=y3

Sistema de ecuaciones

y1=y=y2
y2=y=y3
y3=y=-x*y+y-2*y=-x*y3+y2-2*y1+(x-3)

y1 0 1 0 y1 0
y2 = 0 0 1 * y2 + 0
y3 -2 1 -x y3 x-3

Mtodo Runge-Kutta Frmulas zn+1=zn+h*k2


k1=f(xn,zn)
k2=f(xn+h/2,zn+h*k1/2)

x0 0.00 0
xN 1.00 z0 = 0
xN-x0 1.00 1

h 0.10 N 10.00

n xn zn f(xn,zn) k1 xn+h/2 zn+h*k1/2 k2


0.00 0.0000 0.0000 0.0000 0.5000 0.0000 0.0500
0.00 0.0000 1.0000 1.0000 0.0500 0.8500
1.0000 -3.0000 -3.0000 0.8500 -2.8750
0.10 0.0050 0.0850 0.0850 0.6000 0.0093 0.1206
1.00 0.0850 0.7125 0.7125 0.1206 0.5677
0.7125 -2.8963 -2.8963 0.5677 -2.6385
0.20 0.0171 0.1418 0.1418 0.7000 0.0242 0.1642
2.00 0.1418 0.4487 0.4487 0.1642 0.3095
0.4487 -2.7821 -2.7821 0.3095 -2.4008
0.30 0.0335 0.1727 0.1727 0.8000 0.0421 0.1832
3.00 0.1727 0.2086 0.2086 0.1832 0.0757
0.2086 -2.6568 -2.6568 0.0757 -2.1617
0.40 0.0518 0.1803 0.1803 0.9000 0.0608 0.1799
4.00 0.1803 -0.0076 -0.0076 0.1799 -0.1336
-0.0076 -2.5203 -2.5203 -0.1336 -1.9215
0.50 0.0698 0.1669 0.1669 1.0000 0.0781 0.1569
5.00 0.1669 -0.1997 -0.1997 0.1569 -0.3184
-0.1997 -2.3728 -2.3728 -0.3184 -1.6809
0.60 0.0855 0.1351 0.1351 1.1000 0.0922 0.1167
6.00 0.1351 -0.3678 -0.3678 0.1167 -0.4786
-0.3678 -2.2152 -2.2152 -0.4786 -1.4413
0.70 0.0972 0.0872 0.0872 1.2000 0.1015 0.0616
7.00 0.0872 -0.5120 -0.5120 0.0616 -0.6144
-0.5120 -2.0487 -2.0487 -0.6144 -1.2041
0.80 0.1033 0.0258 0.0258 1.3000 0.1046 -0.0058
8.00 0.0258 -0.6324 -0.6324 -0.0058 -0.7261
-0.6324 -1.8749 -1.8749 -0.7261 -0.9711
0.90 0.1027 -0.0468 -0.0468 1.4000 0.1004 -0.0833
9.00 -0.0468 -0.7295 -0.7295 -0.0833 -0.8143
-0.7295 -1.6958 -1.6958 -0.8143 -0.7441
1.00 0.0944 -0.1282 -0.1282 1.5000 0.0880 -0.1684
10.00 -0.1282 -0.8039 -0.8039 -0.1684 -0.8796
-0.8039 -1.5132 -1.5132 -0.8796 -0.5251
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES
0.40000000
Ec. a resolver y=x^2+y^2
Valor inicial y(0)=0
0.38000000
Aproxim. en x=1

Tabla resumen 0.36000000

Mtodo h=0,2 h=0,1 h=0,05 0.34000000 Euler


Euler 0.24285675 0.29254210 0.32021162 Taylor 2
Taylor 2 0.33146904 0.34526747 0.34895613 0.32000000 Taylor 3
Taylor 3 0.34913030 0.35006410 0.35020881 Euler mejorado
Euler mejorado 0.35625707 0.35183013 0.35064634 0.30000000 Euler modif icado
Euler modificado 0.34382366 0.34854534 0.34980098 R-K 3 (Heun)
R-K 3 (Heun) 0.34999356 0.35019987 0.35022773 0.28000000 R-K 4
R-K 4 0.31169181 0.33486614 0.34247836 A-B 2
A-B 2 0.31430931 0.33914326 0.34721256 A-B 3
0.26000000
A-B 3 0.34100053 0.34855041 0.34997965 A-B 4
A-B 4 0.33225288 0.34841367 0.35001839
0.24000000

0.22000000

0.20000000
0.5 1 1.5 2 2.5 3 3.5
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y=x^2+y^2 x0 0.00


Valor inicial y(0)=0 z0 0.00
Aproxim. en x=1 xN 1.00
xN-x0 1.00

Mtodo de Euler

Frmulas utilizadas: n=(xN-x0)/h f(xn,zn)=xn^2+zn^2


xn=x0+n*h
zn+1=zn+h*f(xn,zn)

h 0.20 N 5.00 h 0.05 N 20.00

n xn zn f(xn,zn) n xn zn f(xn,zn)
0.00 0.00 0.00000000 0.00000000 0.00 0.00 0.00000000 0.00000000
1.00 0.20 0.00000000 0.04000000 1.00 0.05 0.00000000 0.00250000
2.00 0.40 0.00800000 0.16006400 2.00 0.10 0.00012500 0.01000002
3.00 0.60 0.04001280 0.36160102 3.00 0.15 0.00062500 0.02250039
4.00 0.80 0.11233300 0.65261870 4.00 0.20 0.00175002 0.04000306
5.00 1.00 0.24285675 1.05897940 5.00 0.25 0.00375017 0.06251406
6.00 0.30 0.00687588 0.09004728
h 0.10 N 10.00 7.00 0.35 0.01137824 0.12262946
8.00 0.40 0.01750971 0.16030659
n xn zn f(xn,zn) 9.00 0.45 0.02552504 0.20315153
0.00 0.00 0.00000000 0.00000000 10.00 0.50 0.03568262 0.25127325
1.00 0.10 0.00000000 0.01000000 11.00 0.55 0.04824628 0.30482770
2.00 0.20 0.00100000 0.04000100 12.00 0.60 0.06348767 0.36403068
3.00 0.30 0.00500010 0.09002500 13.00 0.65 0.08168920 0.42917313
4.00 0.40 0.01400260 0.16019607 14.00 0.70 0.10314786 0.50063948
5.00 0.50 0.03002221 0.25090133 15.00 0.75 0.12817983 0.57893007
6.00 0.60 0.05511234 0.36303737 16.00 0.80 0.15712634 0.66468869
7.00 0.70 0.09141608 0.49835690 17.00 0.85 0.19036077 0.75873722
8.00 0.80 0.14125177 0.65995206 18.00 0.90 0.22829763 0.86211981
9.00 0.90 0.20724697 0.85295131 19.00 0.95 0.27140362 0.97615993
10.00 1.00 0.29254210 1.08558088 20.00 1.00 0.32021162 1.10253548
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y=x^2+y^2 x0 0.00


Valor inicial y(0)=0 z0 0.00
Aproxim. en x=1 xN 1.00
xN-x0 1.00

Mtodo de Taylor de orden 2

Frmulas utilizadas: n=(xN-x0)/h f(xn,zn)=xn^2+zn^2


xn=x0+n*h f(xn,zn)=2*xn+2*zn*f(xn,zn)
zn+1=zn+h*f(xn,zn)+h^2*f(xn,zn)/2

h 0.20 N 5.00 h 0.05 N 20.00

n xn zn f(xn,zn) f(xn,zn) n xn zn f(xn,zn) f(xn,zn)


0.00 0.00 0.00000000 0.00000000 0.00000000 0.00 0.00 0.00000000 0.00000000 0.00000000
1.00 0.20 0.00000000 0.04000000 0.40000000 1.00 0.05 0.00000000 0.00250000 0.10000000
2.00 0.40 0.01600000 0.16025600 0.80512819 2.00 0.10 0.00025000 0.01000006 0.20000500
3.00 0.60 0.06415376 0.36411571 1.24671879 3.00 0.15 0.00100001 0.02250100 0.30004500
4.00 0.80 0.16191128 0.66621526 1.81573553 4.00 0.20 0.00250012 0.04000625 0.40020004
5.00 1.00 0.33146904 1.10987173 2.73577624 5.00 0.25 0.00500068 0.06252501 0.50062533
6.00 0.30 0.00875271 0.09007661 0.60157683
h 0.10 N 10.00 7.00 0.35 0.01400851 0.12269624 0.70343758
8.00 0.40 0.02102262 0.16044195 0.80674582
n xn zn f(xn,zn) f(xn,zn) 9.00 0.45 0.03005315 0.20340319 0.91222581
0.00 0.00 0.00000000 0.00000000 0.00000000 10.00 0.50 0.04136359 0.25171095 1.02082334
1.00 0.10 0.00000000 0.01000000 0.20000000 11.00 0.55 0.05522517 0.30554982 1.13374808
2.00 0.20 0.00200000 0.04000400 0.40016002 12.00 0.60 0.07191984 0.36517246 1.25252629
3.00 0.30 0.00800120 0.09006402 0.60144124 13.00 0.65 0.09174413 0.43091698 1.37906820
4.00 0.40 0.02001481 0.16040059 0.80642077 14.00 0.70 0.11501381 0.50322818 1.51575638
5.00 0.50 0.04008697 0.25160697 1.02017232 15.00 0.75 0.14206991 0.58268386 1.66556369
6.00 0.60 0.07034853 0.36494892 1.25134724 16.00 0.80 0.17328606 0.67002806 1.83221305
7.00 0.70 0.11310016 0.50279165 1.51373163 17.00 0.85 0.20907773 0.76621350 2.02039636
8.00 0.80 0.17094798 0.66922321 1.82880471 18.00 0.90 0.24991390 0.87245696 2.23607825
9.00 0.90 0.24701432 0.87101608 2.23030690 19.00 0.95 0.29633185 0.99031256 2.48692230
10.00 1.00 0.34526747 1.11920962 2.77285334 20.00 1.00 0.34895613 1.12177038 2.78289730
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y=x^2+y^2 x0 0.00


Valor inicial y(0)=0 z0 0.00
Aproxim. en x=1 xN 1.00
xN-x0 1.00

Mtodo de Taylor de orden 3

Frmulas utilizadas: n=(xN-x0)/h f(xn,zn)=xn^2+zn^2


xn=x0+n*h f(xn,zn)=2*xn+2*zn*f(xn,zn)
zn+1=zn+h*f(xn,zn)+h^2*f(xn,zn)/2+h^3*f(xn,zn)/6 f(xn,zn)=2+2*f(xn-zn)^2+4*xn*zn+4*zn^2*f(xn,zn)

h 0.20 N 5.00 h 0.05 N 20.00

n xn zn f(xn,zn) f(xn,zn) f(xn,zn) n xn zn f(xn,zn) f(xn,zn) f(xn,zn)


0.00 0.00 0.00000000 0.00000000 0.00000000 2.00000000 0.00 0.00 0.00000000 0.00000000 0.00000000 2.00000000
1.00 0.20 0.00266667 0.04000711 0.40021337 2.00533561 1.00 0.05 0.00004167 0.00250000 0.10000021 2.00002083
2.00 0.40 0.02134614 0.16045566 0.80685022 2.08593831 2.00 0.10 0.00033333 0.01000011 0.20000667 2.00033334
3.00 0.60 0.07235552 0.36523532 1.25285359 2.44809544 3.00 0.15 0.00112502 0.02250127 0.30005063 2.00168774
4.00 0.80 0.17372379 0.67017995 1.83285240 3.53510246 4.00 0.20 0.00266685 0.04000711 0.40021339 2.00533576
5.00 1.00 0.34913030 1.12189196 2.78337295 6.46080280 5.00 0.25 0.00520925 0.06252714 0.50065144 2.01303532
6.00 0.30 0.00900336 0.09008106 0.60162206 2.02706243
h 0.10 N 10.00 7.00 0.35 0.01430167 0.12270454 0.70350976 2.05023554
8.00 0.40 0.02135900 0.16045621 0.80685437 2.08595959
n xn zn f(xn,zn) f(xn,zn) f(xn,zn) 9.00 0.45 0.03043383 0.20342622 0.91238208 2.13829902
0.00 0.00 0.00000000 0.00000000 0.00000000 2.00000000 10.00 0.50 0.04179017 0.25174642 1.02104105 2.21209148
1.00 0.10 0.00033333 0.01000011 0.20000667 2.00033334 11.00 0.55 0.05569988 0.30560248 1.13404404 2.31311798
2.00 0.20 0.00266677 0.04000711 0.40021338 2.00533569 12.00 0.60 0.07244575 0.36524839 1.25292138 2.44835042
3.00 0.30 0.00900277 0.09008105 0.60162196 2.02706172 13.00 0.65 0.09232532 0.43102397 1.37958886 2.62630530
4.00 0.40 0.02135683 0.16045611 0.80685367 2.08595600 14.00 0.70 0.11565572 0.50337625 1.51643669 2.85754446
5.00 0.50 0.04178436 0.25174593 1.02103809 2.21207889 15.00 0.75 0.14277961 0.58288602 1.66644848 3.15538196
6.00 0.60 0.07243283 0.36524651 1.25291168 2.44831391 16.00 0.80 0.17407271 0.67030131 1.83336233 3.53688440
7.00 0.70 0.11563009 0.50337032 1.51640951 2.85744849 17.00 0.85 0.20995317 0.76658033 2.02189194 4.02429604
8.00 0.80 0.17402541 0.67028484 1.83329319 3.53664275 18.00 0.90 0.25089339 0.87294749 2.23803351 4.64709026
9.00 0.90 0.25080980 0.87290556 2.23786654 4.64648595 19.00 0.95 0.29743512 0.99096765 2.48949716 5.44496153
10.00 1.00 0.35006410 1.12254488 2.78592534 6.47071892 20.00 1.00 0.35020881 1.12264621 2.78632118 6.47225747
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y=x^2+y^2 x0 0.00


Valor inicial y(0)=0 z0 0.00
Aproxim. en x=1 xN 1.00
xN-x0 1.00

Mtodo de Euler mejorado

Frmulas utilizadas: n=(xN-x0)/h f(xn,zn)=xn^2+zn^2


xn=x0+n*h
zn+1=zn+h*f(xn,zn)/2+h*f(xn+1,zn+h*f(xn,zn))/2

h 0.20 N 5.00 h 0.05 N 20.00

n xn zn f(xn,zn) zn+h*f(xn,zn) n xn zn f(xn,zn) zn+h*f(xn,zn)


0.00 0.00 0.00000000 0.00000000 0.00000000 0.00 0.00 0.00000000 0.00000000 0.00000000
1.00 0.20 0.00400000 0.04001600 0.01200320 1.00 0.05 0.00006250 0.00250000 0.00018750
2.00 0.40 0.02401601 0.16057677 0.05613136 2.00 0.10 0.00037500 0.01000014 0.00087501
3.00 0.60 0.07638876 0.36583524 0.14955581 3.00 0.15 0.00118752 0.02250141 0.00231259
4.00 0.80 0.17920898 0.67211586 0.31363215 4.00 0.20 0.00275019 0.04000756 0.00475057
5.00 1.00 0.35625707 1.12691910 0.58164089 5.00 0.25 0.00531345 0.06252823 0.00843986
6.00 0.30 0.00912843 0.09008333 0.01363260
h 0.10 N 10.00 7.00 0.35 0.01444766 0.12270873 0.02058310
8.00 0.40 0.02152597 0.16046337 0.02954914
n xn zn f(xn,zn) zn+h*f(xn,zn) 9.00 0.45 0.03062188 0.20343770 0.04079377
0.00 0.00 0.00000000 0.00000000 0.00000000 10.00 0.50 0.04199943 0.25176395 0.05458763
1.00 0.10 0.00050000 0.01000025 0.00150003 11.00 0.55 0.05593052 0.30562822 0.07121194
2.00 0.20 0.00300013 0.04000900 0.00700103 12.00 0.60 0.07269801 0.36528500 0.09096226
3.00 0.30 0.00950303 0.09009031 0.01851206 13.00 0.65 0.09259949 0.43107467 0.11415322
4.00 0.40 0.02202468 0.16048509 0.03807318 14.00 0.70 0.11595213 0.50344490 0.14112437
5.00 0.50 0.04262141 0.25181658 0.06780307 15.00 0.75 0.14309865 0.58297722 0.17224751
6.00 0.60 0.07344210 0.36539374 0.10998147 16.00 0.80 0.17441481 0.67042053 0.20793584
7.00 0.70 0.11681658 0.50364611 0.16718120 17.00 0.85 0.21031876 0.76673398 0.24865546
8.00 0.80 0.17539637 0.67076389 0.24247276 18.00 0.90 0.25128285 0.87314307 0.29494000
9.00 0.90 0.25237421 0.87369274 0.33974349 19.00 0.95 0.29784866 0.99121383 0.34740936
10.00 1.00 0.35183013 1.12378444 0.46420858 20.00 1.00 0.35064634 1.12295286 0.40679398
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y=x^2+y^2 x0 0.00


Valor inicial y(0)=0 z0 0.00
Aproxim. en x=1 xN 1.00
xN-x0 1.00

Mtodo de Euler modificado

Frmulas utilizadas: n=(xN-x0)/h f(xn,zn)=xn^2+zn^2


xn=x0+n*h
zn+1=zn+h*f(xn+h/2,zn+h*f(xn,zn)/2)

h 0.20 N 5.00 h 0.05 N 20.00

n xn zn f(xn,zn) zn+h/2 zn+h*f(xn,zn)/2 n xn zn f(xn,zn) zn+h/2 zn+h*f(xn,zn)/2


0.00 0.00 0.00000000 0.00000000 0.10000000 0.00000000 0.00 0.00 0.00000000 0.00000000 0.02500000 0.00000000
1.00 0.20 0.00200000 0.04000400 0.30000000 0.00600040 1.00 0.05 0.00003125 0.00250000 0.07500000 0.00009375
2.00 0.40 0.02000720 0.16040029 0.50000000 0.03604723 2.00 0.10 0.00031250 0.01000010 0.12500000 0.00056250
3.00 0.60 0.07026708 0.36493746 0.70000000 0.10676083 3.00 0.15 0.00109377 0.02250120 0.17500000 0.00165630
4.00 0.80 0.17054666 0.66908616 0.90000000 0.23745527 4.00 0.20 0.00262515 0.04000689 0.22500000 0.00362533
5.00 1.00 0.34382366 1.11821471 1.10000000 0.45564513 5.00 0.25 0.00515706 0.06252660 0.27500000 0.00672023
6.00 0.30 0.00894057 0.09007993 0.32500000 0.01119257
h 0.10 N 10.00 7.00 0.35 0.01422808 0.12270244 0.37500000 0.01729564
8.00 0.40 0.02127429 0.16045260 0.42500000 0.02528560
n xn zn f(xn,zn) zn+h/2 zn+h*f(xn,zn)/2 9.00 0.45 0.03033751 0.20342036 0.47500000 0.03542302
0.00 0.00 0.00000000 0.00000000 0.05000000 0.00000000 10.00 0.50 0.04168150 0.25173735 0.52500000 0.04797493
1.00 0.10 0.00025000 0.01000006 0.15000000 0.00075000 11.00 0.55 0.05557783 0.30558889 0.57500000 0.06321755
2.00 0.20 0.00250006 0.04000625 0.25000000 0.00450037 12.00 0.60 0.07230890 0.36522858 0.62500000 0.08143961
3.00 0.30 0.00875208 0.09007660 0.35000000 0.01325591 13.00 0.65 0.09217177 0.43099564 0.67500000 0.10294666
4.00 0.40 0.02101965 0.16044183 0.45000000 0.02904174 14.00 0.70 0.11548292 0.50333630 0.72500000 0.12806633
5.00 0.50 0.04135400 0.25171015 0.55000000 0.05393950 15.00 0.75 0.14258422 0.58283026 0.77500000 0.15715498
6.00 0.60 0.07189494 0.36516888 0.65000000 0.09015339 16.00 0.80 0.17385035 0.67022395 0.82500000 0.19060595
7.00 0.70 0.11495771 0.50321527 0.75000000 0.14011847 17.00 0.85 0.20969814 0.76647331 0.87500000 0.22885997
8.00 0.80 0.17317102 0.66998820 0.85000000 0.20667043 18.00 0.90 0.25059823 0.87279947 0.92500000 0.27241822
9.00 0.90 0.24969229 0.87234624 0.95000000 0.29330960 19.00 0.95 0.29709006 0.99076251 0.97500000 0.32185913
10.00 1.00 0.34854534 1.12148386 1.05000000 0.40461954 20.00 1.00 0.34980098 1.12236073 1.02500000 0.37786000
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y=x^2+y^2 x0 0.00 0.00 0.00


Valor inicial y(0)=0 z0 0.00 0.00 0.00
Aproxim. en x=1 xN 1.00 1.00 1.00
xN-x0 1.00 1.00 1.00

Mtodo de Runge-Kutta 3 (Heun)


f(xn,zn)=xn^2+zn^2
Frmulas utilizadas: n=(xN-x0)/h k1=f(xn,zn)
xn=x0+n*h k2=f(xn+h/3,zn+h/3*k1)
zn+1=zn+h*(k1+3*k3)/4 k3=f(xn+2*h/3,zn+2*h*k2/3)

h 0.20 N 5.00 h 0.05 N 20.00

n xn zn f(xn,zn) k1 k2 k3 n xn zn f(xn,zn) k1 k2 k3
0.00 0.00 0.00000000 0.00000000 0.00000000 0.00444444 0.01777813 0.00 0.00 0.00000000 0.00000000 0.00000000 0.00027778 0.00111111
1.00 0.20 0.00266672 0.04000711 0.04000711 0.07113956 0.11125878 1.00 0.05 0.00004167 0.00250000 0.00250000 0.00444445 0.00694448
2.00 0.40 0.02135589 0.16045607 0.16045607 0.21880517 0.28699772 2.00 0.10 0.00033333 0.01000011 0.01000011 0.01361136 0.01777840
3.00 0.60 0.07242835 0.36524587 0.36524587 0.45381044 0.55544987 3.00 0.15 0.00112503 0.02250127 0.02250127 0.02778003 0.03361532
4.00 0.80 0.17400813 0.67027883 0.67027883 0.79893791 0.94980998 4.00 0.20 0.00266687 0.04000711 0.04000711 0.04695556 0.05446235
5.00 1.00 0.34999356 1.12249550 1.12249550 1.31825542 1.56086902 5.00 0.25 0.00520929 0.06252714 0.06252714 0.07115019 0.08033525
6.00 0.30 0.00900345 0.09008106 0.09008106 0.10038813 0.11126363
h 0.10 N 10.00 7.00 0.35 0.01430185 0.12270454 0.12270454 0.13471167 0.14729759
8.00 0.40 0.02135932 0.16045622 0.16045622 0.17418872 0.18851575
n xn zn f(xn,zn) k1 k2 k3 9.00 0.45 0.03043436 0.20342625 0.20342625 0.21892189 0.23503480
0.00 0.00 0.00000000 0.00000000 0.00000000 0.00111111 0.00444445 10.00 0.50 0.04179100 0.25174649 0.25174649 0.26905923 0.28702099
1.00 0.10 0.00033333 0.01000011 0.01000011 0.01777822 0.02778008 11.00 0.55 0.05570111 0.30560261 0.30560261 0.32480708 0.34470375
2.00 0.20 0.00266684 0.04000711 0.04000711 0.05446045 0.07115077 12.00 0.60 0.07244754 0.36524865 0.36524865 0.38644553 0.40839216
3.00 0.30 0.00900333 0.09008106 0.09008106 0.11125526 0.13471407 13.00 0.65 0.09232785 0.43102443 0.43102443 0.45434700 0.47849484
4.00 0.40 0.02135891 0.16045620 0.16045620 0.18849107 0.21892868 14.00 0.70 0.11565921 0.50337705 0.50337705 0.52899922 0.55554467
5.00 0.50 0.04178997 0.25174640 0.25174640 0.28696263 0.32482246 15.00 0.75 0.14278435 0.58288737 0.58288737 0.61103377 0.64022973
6.00 0.60 0.07244531 0.36524832 0.36524832 0.40827170 0.45437724 16.00 0.80 0.17407906 0.67030352 0.67030352 0.70126230 0.73343271
7.00 0.70 0.11565481 0.50337604 0.50337604 0.55531655 0.61108771 17.00 0.85 0.20996158 0.76658387 0.76658387 0.80072332 0.83628212
8.00 0.80 0.17407079 0.67030064 0.67030064 0.73302296 0.80081290 18.00 0.90 0.25090446 0.87295305 0.87295305 0.91074343 0.95021975
9.00 0.90 0.25088928 0.87294543 0.87294543 0.94950409 1.03315952 19.00 0.95 0.29744961 0.99097627 0.99097627 1.03301902 1.07709115
10.00 1.00 0.35019987 1.12263995 1.12263995 1.21802798 1.32388524 20.00 1.00 0.35022773 1.12265947 1.12265947 1.16972689 1.21926892
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y=x^2+y^2 x0 0.00 0.00 0.00 0.00


Valor inicial y(0)=0 z0 0.00 0.00 0.00 0.00
Aproxim. en x=1 xN 1.00 1.00 1.00 1.00
xN-x0 1.00 1.00 1.00 1.00

Mtodo de Runge-Kutta 4
n=(xN-x0)/h k1=f(xn,zn)
Frmulas utilizadas: xn=x0+n*h k2=f(xn+h/2,zn+h/2*k1)
zn+1=zn+h*(k1+2*k2+2*k3+k4)/6 k3=f(xn+h/2,zn+h*k2/2)
f(xn,zn)=xn^2+zn^2 k4=f(xn+h,zn+h*k3)

h 0.20 N 5.00 h 0.05 N 20.00

n xn zn f(xn,zn) k1 k2 k3 k4 n xn zn f(xn,zn) k1 k2 k3 k4
0.00 0.00 0.00000000 0.00000000 0.00000000 0.01000000 0.01000100 0.04000400 0.00 0.00 0.00000000 0.00000000 0.00000000 0.00062500 0.00062500 0.00250000
1.00 0.20 0.00266687 0.04000711 0.04000711 0.09004446 0.09013622 0.16042825 1.00 0.05 0.00004167 0.00250000 0.00250000 0.00562501 0.00562503 0.01000010
2.00 0.40 0.02136009 0.16045625 0.16045625 0.25139919 0.25216225 0.36515417 2.00 0.10 0.00033333 0.01000011 0.01000011 0.01562534 0.01562552 0.02250124
3.00 0.60 0.07245120 0.36524918 0.36524918 0.50187579 0.50504027 0.67008811 3.00 0.15 0.00112503 0.02250127 0.02250127 0.03062785 0.03062857 0.04000706
4.00 0.80 0.17409018 0.67030739 0.67030739 0.86813930 0.87807096 1.12229315 4.00 0.20 0.00266687 0.04000711 0.04000711 0.05063845 0.05064047 0.06252703
5.00 1.00 0.35025755 1.12268035 1.12268035 1.42392992 1.45270456 1.85062267 5.00 0.25 0.00520930 0.06252714 0.06252714 0.07567087 0.07567543 0.09008088
6.00 0.30 0.00900348 0.09008106 0.09008106 0.10575169 0.10576066 0.12270425
h 0.10 N 10.00 7.00 0.35 0.01430189 0.12270454 0.12270454 0.14092670 0.14094273 0.16045578
8.00 0.40 0.02135939 0.16045622 0.16045622 0.18126868 0.18129535 0.20342563
n xn zn f(xn,zn) k1 k2 k3 k4 9.00 0.45 0.03043447 0.20342626 0.20342626 0.22688668 0.22692869 0.25174564
0.00 0.00 0.00000000 0.00000000 0.00000000 0.00250000 0.00250002 0.01000006 10.00 0.50 0.04179116 0.25174650 0.25174650 0.27793715 0.27800055 0.30560151
1.00 0.10 0.00033333 0.01000011 0.01000011 0.02250069 0.02250213 0.04000667 11.00 0.55 0.05570135 0.30560264 0.30560264 0.33463714 0.33472962 0.36524724
2.00 0.20 0.00266688 0.04000711 0.04000711 0.06252178 0.06253356 0.09007957 12.00 0.60 0.07244788 0.36524870 0.36524870 0.39728015 0.39741145 0.43102270
3.00 0.30 0.00900350 0.09008106 0.09008106 0.12268245 0.12272915 0.16045269 13.00 0.65 0.09232833 0.43102452 0.43102452 0.46625542 0.46643782 0.50337497
4.00 0.40 0.02135945 0.16045623 0.16045623 0.20336332 0.20349399 0.25173963 14.00 0.70 0.11565988 0.50337721 0.50337721 0.54207160 0.54232066 0.58288496
5.00 0.50 0.04179129 0.25174651 0.25174651 0.30545703 0.30575632 0.36523697 15.00 0.75 0.14278527 0.58288763 0.58288763 0.62538637 0.62572188 0.67030084
6.00 0.60 0.07244812 0.36524873 0.36524873 0.43072841 0.43133309 0.50335907 16.00 0.80 0.17408031 0.67030396 0.67030396 0.71704411 0.71749146 0.76658105
7.00 0.70 0.11566030 0.50337731 0.50337731 0.58233286 0.58346036 0.67027821 17.00 0.85 0.20996328 0.76658458 0.76658458 0.81812459 0.81871672 0.87295037
8.00 0.80 0.17408100 0.67030420 0.67030420 0.76559619 0.76759712 0.87292106 18.00 0.90 0.25090676 0.87295420 0.87295420 0.93000699 0.93078703 0.99097419
9.00 0.90 0.25090787 0.87295476 0.87295476 0.98926301 0.99272275 1.12262613 19.00 0.95 0.29745273 0.99097813 0.99097813 1.05445536 1.05548058 1.12265878
10.00 1.00 0.35023374 1.12266367 1.12266367 1.26763408 1.27357774 1.43809366 20.00 1.00 0.35023197 1.12266243 1.12266243 1.19373478 1.19508227 1.27058859
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y=x^2+y^2 x0 0.00


Valor inicial y(0)=0 z0 0.00
Aproxim. en x=1 xN 1.00
xN-x0 1.00

Mtodo de Adams-Brashforth 2 (con valores iniciadores de RK-4)

Frmulas utilizadas: n=(xN-x0)/h f(xn,zn)=xn^2+zn^2


xn=x0+n*h
zn+2=zn+1+h*(3*fn+1-fn)/2

h 0.20 N 5.00 h 0.05 N 20.00

n xn zn f(xn,zn) n xn zn f(xn,zn)
0.00 0.00 0.00000000 0.00000000 0.00 0.00 0.00000000 0.00000000
1.00 0.20 0.00266687 0.04000711 1.00 0.05 0.00002344 0.00250000
2.00 0.40 0.01466900 0.16021518 2.00 0.10 0.00021094 0.01000004
3.00 0.60 0.05873284 0.36344955 3.00 0.15 0.00089844 0.02250081
4.00 0.80 0.15174619 0.66302691 4.00 0.20 0.00233600 0.04000546
5.00 1.00 0.31430931 1.09879034 5.00 0.25 0.00477389 0.06252279
6.00 0.30 0.00846296 0.09007162
h 0.10 N 10.00 7.00 0.35 0.01365526 0.12268647
8.00 0.40 0.02060496 0.16042456
n xn zn f(xn,zn) 9.00 0.45 0.02956964 0.20337436
0.00 0.00 0.00000000 0.00000000 10.00 0.50 0.04081210 0.25166563
1.00 0.10 0.00018750 0.01000004 11.00 0.55 0.05460267 0.30548145
2.00 0.20 0.00168751 0.04000285 12.00 0.60 0.07122213 0.36507259
3.00 0.30 0.00718793 0.09005167 13.00 0.65 0.09096554 0.43077473
4.00 0.40 0.01869554 0.16034952 14.00 0.70 0.11414683 0.50302950
5.00 0.50 0.03824538 0.25146271 15.00 0.75 0.14110468 0.58241053
6.00 0.60 0.06794731 0.36461684 16.00 0.80 0.17220973 0.66965619
7.00 0.70 0.11006670 0.50211468 17.00 0.85 0.20787368 0.76571147
8.00 0.80 0.16715307 0.66794015 18.00 0.90 0.24856063 0.87178239
9.00 0.90 0.24223835 0.86867942 19.00 0.95 0.29480153 0.98940794
10.00 1.00 0.33914326 1.11501815 20.00 1.00 0.34721256 1.12055656
RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver y=x^2+y^2 x0 0.00


Valor inicial y(0)=0 z0 0.00
Aproxim. en x=1 xN 1.00
xN-x0 1.00

Mtodo de Adams-Brashforth 4 (con valores iniciadores de RK-4)

Frmulas utilizadas: n=(xN-x0)/h f(xn,zn)=xn^2+zn^2


xn=x0+n*h
zn+4=zn+3+h*(55*fn+3-59*fn+2+37*fn+1-9*fn)/24

h 0.20 N 5.00 h 0.05 N 20.00

n xn zn f(xn,zn) n xn zn f(xn,zn)
0.00 0.00 0.00000000 0.00000000 0.00 0.00 0.00000000 0.00000000
1.00 0.20 0.00266687 0.04000711 1.00 0.05 0.00002344 0.00250000
2.00 0.40 0.01749388 0.16030604 2.00 0.10 0.00026563 0.01000007
3.00 0.60 0.05942286 0.36353108 3.00 0.15 0.00097658 0.02250095
4.00 0.80 0.15955966 0.66545929 4.00 0.20 0.00251835 0.04000634
5.00 1.00 0.33225288 1.11039198 5.00 0.25 0.00506063 0.06252561
6.00 0.30 0.00885452 0.09007840
h 0.10 N 10.00 7.00 0.35 0.01415250 0.12270029
8.00 0.40 0.02120933 0.16044984
n xn zn f(xn,zn) 9.00 0.45 0.03028349 0.20341709
0.00 0.00 0.00000000 0.00000000 10.00 0.50 0.04163891 0.25173380
1.00 0.10 0.00018750 0.01000004 11.00 0.55 0.05554744 0.30558552
2.00 0.20 0.00212513 0.04000452 12.00 0.60 0.07229180 0.36522610
3.00 0.30 0.00781481 0.09006107 13.00 0.65 0.09216948 0.43099521
4.00 0.40 0.02016104 0.16040647 14.00 0.70 0.11549751 0.50333968
5.00 0.50 0.04057320 0.25164618 15.00 0.75 0.14261847 0.58284003
6.00 0.60 0.07119311 0.36506846 16.00 0.80 0.17390795 0.67024398
7.00 0.70 0.11434365 0.50307447 17.00 0.85 0.20978393 0.76650930
8.00 0.80 0.17266576 0.66981347 18.00 0.90 0.25071859 0.87285981
9.00 0.90 0.24933686 0.87216887 19.00 0.95 0.29725340 0.99085959
10.00 1.00 0.34841367 1.12139208 20.00 1.00 0.35001839 1.12251288

También podría gustarte