You are on page 1of 49

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES

Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

x0
z0
xN
xN-x0

0.00
0.00
1.00
1.00

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


Frmulas utilizadas:

0.20 N
n
0.00
1.00
2.00
3.00
4.00
5.00

xn
0.00
0.20
0.40
0.60
0.80
1.00

5.00
zn
0.00000000
0.00266687
0.01749388
0.06827596
0.16864856
0.34100053

0.10 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00

xn
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00

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

f(xn,zn)
0.00000000
0.04000711
0.16030604
0.36466161
0.66844234
1.11628136
10.00

zn
0.00000000
0.00018750
0.00212513
0.00845933
0.02080577
0.04121272
0.07181686
0.11493032
0.17317846
0.24971373
0.34855041

f(xn,zn)
0.00000000
0.01000004
0.04000452
0.09007156
0.16043288
0.25169849
0.36515766
0.50320898
0.66999078
0.87235695
1.12148739

0.05 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
16.00
17.00
18.00
19.00
20.00

xn
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00

20.00
zn
0.00000000
0.00002344
0.00026563
0.00105730
0.00259907
0.00514131
0.00893508
0.01423278
0.02128909
0.03036235
0.04171636
0.05562279
0.07236414
0.09223764
0.11555999
0.14267334
0.17395273
0.20981543
0.25073270
0.29724468
0.34997965

f(xn,zn)
0.00000000
0.00250000
0.01000007
0.02250112
0.04000676
0.06252643
0.09007984
0.12270257
0.16045323
0.20342187
0.25174025
0.30559389
0.36523657
0.43100778
0.50335411
0.58285568
0.67025955
0.76652252
0.87286688
0.99085440
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

x
0
0.2
0.4
0.6
0.8
1

Error

x
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
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

h=0,2
Taylor-3
Taylor-4

Euler
1
1.2
1.44
1.728
2.0736

Taylor-2
1
1.22
1.4884
1.815848
2.2153346

2.48832

2.70270816 2.7175093773

1
1.2213333333
1.4916551111
1.821808109
2.2250349705

0.2299618285 0.01557367 0.0007724512

Euler
1
1.1
1.21
1.331
1.4641
1.61051
1.771561
1.9487171
2.14358881
2.357947691
2.59374246

Taylor-2
1
1.105
1.221025
1.3492326
1.4909021
1.6474468
1.8204287
2.0115737
2.2227889
2.4561818
2.7140808

Taylor-2

1
1.05
1.1025
1.157625
1.21550625
1.276281563
1.340095641
1.407100423
1.477455444
1.551328216
1.628894627
1.710339358
1.795856326

1
1.05125
1.1051266
1.1617643
1.2213047
1.2838966
1.3496963
1.4188682
1.4915852
1.568029
1.6483904
1.7328705
1.8216801

2.7182511366

2.718281828

1
1.2214
1.49181796

3.069185E-005

h=0,1
Taylor-3
Taylor-4
1
1.1051666667
1.2213933611
1.3498432296
1.4918017426
1.6486895592
1.8220767445
2.0136984821
2.2254724391
2.4595179573
2.7181772625

0.1245393684 0.00420098 0.000104566

Euler

1.8221064563
2.2255208258

y "exacta"
1.000000000
1.221402758
1.491824698
1.822118800
2.225540928

1
1.1051708333
1.2214025709
1.3498584971
1.4918242401
1.6487206386
1.8221179621
2.0137516266
2.2255395633
2.4596014138
2.7182797441
2.084324E-006

h=0,05
Taylor-3
Taylor-4
1
1.0512708333
1.105170365
1.1618333706
1.2214015357
1.2840238103
1.3498567811
1.4190650631
1.4918217114
1.5683086538
1.6487171454
1.7332482473
1.8221133294

y "exacta"
1.000000000
1.105170918
1.221402758
1.349858808
1.491824698
1.648721271
1.822118800
2.013752707
2.225540928
2.459603111
2.718281828

1
1.0512710938
1.1051709126
1.161834234
1.221402746
1.2840254007
1.3498587873
1.4190675238
1.4918246678
1.5683121502
1.6487212295
1.7332529702
1.8221187458

y "exacta"
1.000000000
1.051271096
1.105170918
1.161834243
1.221402758
1.284025417
1.349858808
1.419067549
1.491824698
1.568312185
1.648721271
1.733253018
1.822118800

0.65
0.7
0.75
0.8
0.85
0.9
0.95

1.885649142
1.979931599
2.078928179
2.182874588
2.292018318
2.406619234
2.526950195

2.6532977051 2.71719105 2.7182682255

Error

x
0
0.025
0.05
0.075
0.1
0.125
0.15
0.175
0.2
0.225
0.25
0.275
0.3
0.325
0.35
0.375
0.4
0.425
0.45
0.475
0.5
0.525
0.55
0.575
0.6
0.625
0.65
0.675
0.7
0.725
0.75
0.775
0.8
0.825

1.9150412
2.013187
2.1163629
2.2248265
2.3388488
2.4587148
2.584724

1.9155345982
2.0137456533
2.1169920711
2.2255320187
2.3396368999
2.4595920335
2.5856973667

1.9155407668
2.013752637
2.1169999373
2.2255408395
2.3396467526
2.4596030006
2.5857095366
2.7182816927

1.915540829
2.013752707
2.117000017
2.225540928
2.339646852
2.459603111
2.585709659
2.718281828

0.0649841233 0.00109077 0.000013603

Euler

Taylor-2

1
1.025
1.050625
1.076890625
1.103812891
1.131408213
1.159693418
1.188685754
1.218402898
1.24886297
1.280084544
1.312086658
1.344888824
1.378511045
1.412973821
1.448298166
1.484505621
1.521618261
1.559658718
1.598650186
1.63861644
1.679581851
1.721571398
1.764610683
1.80872595
1.853944098
1.900292701
1.947800018
1.996495019
2.046407394
2.097567579
2.150006769
2.203756938
2.258850861

1
1.0253125
1.0512657
1.0778759
1.1051596
1.133134
1.1618164
1.1912249
1.2213778
1.2522939
1.2839926
1.3164937
1.3498174
1.3839847
1.4190168
1.4549356
1.4917637
1.529524
1.56824
1.6079361
1.648637
1.6903681
1.7331556
1.7770261
1.822007
1.8681266
1.9154135
1.9638974
2.0136086
2.0645781
2.1168377
2.1704202
2.2253589
2.2816883

h=0,025
Taylor-3
Taylor-4
1
1
1.0253151042 1.0253151204
1.0512710628 1.0512710962
1.0778840993 1.0778841506
1.1051708475 1.1051709177
1.1331483627 1.1331484526
1.1618341315 1.1618342422
1.1912460836 1.1912462159
1.2214026023 1.2214027574
1.2523225364 1.2523227153
1.2840252118 1.2840254157
1.3165304438 1.3165306737
1.3498585492 1.3498588063
1.3840303589 1.3840306445
1.4190672316 1.419067547
1.4549910664 1.4549914129
1.4918243168 1.4918246957
1.5295900048 1.5295904176
1.5683117351 1.5683121832
1.6080137101 1.6080141951
1.6487207446 1.6487212681
1.690458282 1.6904588455
1.7332524095 1.7332530148
1.7771298748 1.7771305237
1.8221181027 1.8221187969
1.8682452123 1.8682459537
1.9155400344 1.915540825
1.96403213
1.9640329717
2.0137518079 2.013752703
2.0647301447 2.0647310952
2.1169990034 2.1170000116
2.1705910537 2.1705921218
2.2255397923 2.2255409228
2.281879564 2.2818807593

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

0.85
0.875
0.9
0.925
0.95
0.975
1
Error

2.315322133
2.373205186
2.432535316
2.493348699
2.555682416
2.619574476
2.685063838

2.3394435
2.3986607
2.4593768
2.5216298
2.5854585
2.650903
2.7180039

2.3396455828
2.3988739545
2.4596016985
2.5218667717
2.5857080917
2.6511655614
2.7182800938

2.3396468456
2.3988752873
2.4596031041
2.5218682529
2.5857096515
2.6511672027
2.7182818198

0.0332179901 0.00027788 1.734686E-006 0.000000009

2.339646852
2.398875294
2.459603111
2.521868260
2.585709659
2.651167211
2.718281828

nicial y(0)=1,
2-3-4, con:

Dada la ecuacin diferencial de primer orden y'=y, con la condicin inicial y(0)=1,
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.2
0.4

1.2
1.44

1.22
1.4884

1.22133333 1.2214
1.49165511 1.49181796

0.6
0.8

1.728
2.0736

1.815848
1.82180811 1.8221064563
2.21533456 2.22503497 2.2255208258

2.48832

2.70270816 2.71750938 2.7182511366

Error

0.22996183 0.01557367 0.00077245 3.06919E-005

h=0,1
0
0.1

x
1
1.1

Euler

RK2
1
1.105

RK3
RK4
1
1
1.10516667 1.1051708333

0.2
0.3

1.21
1.331

1.221025
1.22139336 1.2214025709
1.34923263 1.34984323 1.3498584971

0.4
0.5

1.4641
1.61051

1.49090205 1.49180174 1.4918242401


1.64744677 1.64868956 1.6487206386

0.6
0.7

1.771561
1.9487171

1.82042868 1.82207674 1.8221179621


2.01157369 2.01369848 2.0137516266

0.8
0.9

2.14358881 2.22278892 2.22547244 2.2255395633


2.35794769 2.45618176 2.45951796 2.4596014138

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
0.05

1
1.05

1
1.05125

1
1
1.05127083 1.0512710938

0.1
0.15

1.1025
1.157625

1.10512656 1.10517037 1.1051709126


1.1617643 1.16183337 1.161834234

0.2
0.25

1.21550625 1.22130472 1.22140154 1.221402746


1.27628156 1.28389659 1.28402381 1.2840254007

0.3
0.35

1.34009564 1.34969629 1.34985678 1.3498587873


1.40710042 1.41886822 1.41906506 1.4190675238

0.4
0.45

1.47745544 1.49158522 1.49182171 1.4918246678


1.55132822 1.56802896 1.56830865 1.5683121502

0.5
0.55
0.6

1.62889463 1.64839044 1.64871715 1.6487212295


1.71033936 1.73287045 1.73324825 1.7332529702
1.79585633 1.82168006 1.82211333 1.8221187458

0.65

1.88564914 1.91504117 1.9155346

0.7
0.75

1.9799316 2.01318703 2.01374565 2.013752637


2.07892818 2.11636286 2.11699207 2.1169999373

0.8
0.85
0.9

2.18287459 2.22482646 2.22553202 2.2255408395


2.29201832 2.33884882 2.3396369 2.3396467526
2.40661923 2.45871482 2.45959203 2.4596030006

0.95
1

2.5269502 2.58472395 2.58569737 2.5857095366


2.65329771 2.71719105 2.71826823 2.7182816927

Error

0.06498412 0.00109077 1.360E-005 1.35803E-007

x
0
0.025
0.05
0.075
0.1
0.125
0.15
0.175
0.2
0.225
0.25
0.275
0.3
0.325
0.35
0.375
0.4
0.425
0.45
0.475
0.5
0.525
0.55
0.575
0.6
0.625
0.65
0.675
0.7
0.725
0.75
0.775
0.8
0.825

Euler

Taylor-2

1
1.025
1.050625
1.0768906
1.1038129
1.1314082
1.1596934
1.1886858
1.2184029
1.248863
1.2800845
1.3120867
1.3448888
1.378511
1.4129738
1.4482982
1.4845056
1.5216183
1.5596587
1.5986502
1.6386164
1.6795819
1.7215714
1.7646107
1.8087259
1.8539441
1.9002927
1.9478
1.996495
2.0464074
2.0975676
2.1500068
2.2037569
2.2588509

1
1.0253125
1.0512657
1.0778759
1.1051596
1.133134
1.1618164
1.1912249
1.2213778
1.2522939
1.2839926
1.3164937
1.3498174
1.3839847
1.4190168
1.4549356
1.4917637
1.529524
1.56824
1.6079361
1.648637
1.6903681
1.7331556
1.7770261
1.822007
1.8681266
1.9154135
1.9638974
2.0136086
2.0645781
2.1168377
2.1704202
2.2253589
2.2816883

h=0,025
Taylor-3
1
1.0253151
1.0512711
1.0778841
1.1051708
1.1331484
1.1618341
1.1912461
1.2214026
1.2523225
1.2840252
1.3165304
1.3498585
1.3840304
1.4190672
1.4549911
1.4918243
1.52959
1.5683117
1.6080137
1.6487207
1.6904583
1.7332524
1.7771299
1.8221181
1.8682452
1.91554
1.9640321
2.0137518
2.0647301
2.116999
2.1705911
2.2255398
2.2818796

1.9155407668

Taylor-4
1
1.02531512
1.051271096
1.077884151
1.105170918
1.133148453
1.161834242
1.191246216
1.221402757
1.252322715
1.284025416
1.316530674
1.349858806
1.384030645
1.419067547
1.454991413
1.491824696
1.529590418
1.568312183
1.608014195
1.648721268
1.690458846
1.733253015
1.777130524
1.822118797
1.868245954
1.915540825
1.964032972
2.013752703
2.064731095
2.117000012
2.170592122
2.225540923
2.281880759

0.85
0.875
0.9
0.925
0.95
0.975
1
Error

2.3153221
2.3732052
2.4325353
2.4933487
2.5556824
2.6195745
2.6850638

2.3394435
2.3986607
2.4593768
2.5216298
2.5854585
2.650903
2.7180039

2.3396456
2.398874
2.4596017
2.5218668
2.5857081
2.6511656
2.7182801

2.339646846
2.398875287
2.459603104
2.521868253
2.585709651
2.651167203
2.71828182

0.03321799 0.00027788 1.735E-006 0.000000009

y, con la condicin inicial y(0)=1,


de Runge-Kutta de dos, tres y
ectivos dos, tres y cuatro, para

y "exacta"

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


Comparacin de los valores obtenidos con los diferentes mtodos

Euler

Taylor-2 RK2

Taylor-3 RK3

1.2214027582
1.4918246976

0.2

2.48832

2.7027081632

2.7175093773

1.8221188004
2.2255409285

0.1
0.05

2.59374246 2.7140808466
2.65329771 2.7171910544

2.7181772625
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


diferentes mtodos

h=0,2
x

A.B. 2 + E

A.B.3 +E

0.2
0.4

1.2
1.46

1.2
1.44

2.7182797441
2.7182816927

0.6
0.8

1.778
2.1654

1.75533333
2.14421111

2.7182818198

2.63722

2.61806981

Error

0.08106183 0.10021201

Taylor-4 RK4
2.7182511366

y "exacta"
2.718281828

h=0,1
0
0.1

A.B. 2 + E
A.B.3 +E
1
1
1.1
1.1

0.2
0.3

1.215
1.34225

0.4
0.5

1.4828375 1.47765903
1.63815063 1.63303812

0.6
0.7

1.80973134 1.80472075
1.99928351 1.99445627

0.8
0.9

2.20868947 2.20414088
2.44002872 2.43587041

2.69559855 2.69196246

Error

0.02268327 0.02631937

1.21
1.33691667

h=0,05
x

A.B. 2 + E

A.B.3 +E

0
0.05

1
1.05

1
1.05

0.1
0.15

1.10375
1.1025
1.16028125 1.15898958

0.2
0.25

1.21970859 1.21843442
1.28217971 1.28090383

0.3
0.35

1.34785047 1.34657377
1.41688476 1.41561088

0.4
0.45

1.48945486 1.4881875
1.56574185 1.56448503

0.5
0.55
0.6

1.64593612 1.64469424
1.73023778 1.72901568
1.81885721 1.81766017

0.65

1.91201556 1.91084935

0.7
0.75

2.0099453 2.00881623
2.11289081 2.11180575

0.8
0.85
0.9

2.22110898 2.22007541
2.33486989 2.33389593
2.4544574 2.45355188

0.95
1

2.58016996 2.57934245
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

1.2
1.44

1.2214
1.49181796

1.2214027582
1.4918246976

1.728
2.107

1.8221064563
2.2253597518

1.8221188004
2.2255409285

2.57710833 2.7178195014

2.7182818285

0.1411735

0.0004623271

h=0,1
A.B.4 +E
1
1.1

A.B.4 +RK4
1
1.1051708333

y
1
1.1051709181

1.21
1.331

1.2214025709
1.3498584971

1.2214027582
1.3498588076

1.47064583 1.4918201074
1.62575634 1.6487109916

1.4918246976
1.6487212707

1.79661256 1.8221020727
1.98548324 2.0137282518

1.8221188004
2.0137527075

2.19431078 2.2255072405
2.42508761 2.4595585286

2.2255409285
2.4596031112

2.68012448 2.7182244392

2.7182818285

0.03815734 5.738928E-005

h=0,05
A.B.4 +E

A.B.4 +RK4

1
1.05

1
1.0512710938

1
1.0512710964

1.1025
1.157625

1.1051709126
1.161834234

1.1051709181
1.1618342427

1.21694141 1.2214026288
1.27938808 1.2840251469

1.2214027582
1.2840254167

1.34496397 1.3498583895
1.41391673 1.4190669664

1.3498588076
1.4190675486

1.48641139 1.491823935
1.5626212 1.5683112257

1.4918246976
1.5683121855

1.64273816 1.6487200954
1.72696299 1.7332516076
1.8155061 1.8221171341

1.6487212707
1.7332530179
1.8221188004

1.90858889 1.9155388842

1.915540829

2.00644414 2.0137504599
2.10931652 2.1169974403

2.0137527075
2.1170000166

2.21746326 2.2255379957
2.3311548
2.3396435329
2.45067541 2.459599374

2.2255409285
2.3396468519
2.4596031112

2.57632397 2.5857054698
2.70841465 2.7182771501

2.5857096593
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
Euler Mejor. Taylor-2
1
1

1.4
2.072
3.23232
5.3010048

1.536
2.5411584
4.521229
8.6373559

10.967809

2.396232

x
1
1.2
1.4
1.6
1.8
2
Error
x
1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
2
Error
x
1
1.05
1.1
1.15
1.2
1.25
1.3
1.35
1.4
1.45
1.5
1.55

Euler

1.52
2.485504
4.3665334
8.2300422

Taylor-3
1

1.5466667
2.5873135
4.6790771
9.1433409
9.1177283 17.689305 16.618101 19.294351

y "exacta"
1
1.5527072
2.6116965
4.7588212
9.3933313
20.085537

3.4674357 0.7911858
h=0,1
Euler
Euler Mejor. Taylor-2
Taylor-3 y "exacta"
1
1
1
1
1
1.2
1.232
1.23
1.2333333 1.2336781
1.464
1.5478848 1.542666 1.5517488 1.5527072
1.81536
1.98315
1.9727613 1.9916757 1.9937155
2.2873536 2.5907872 2.5720862 2.6077595 2.6116965
2.9278126 3.4509285 3.4188169 3.4830765 3.490343
3.8061564 4.6863609 4.6324969 4.7456918 4.7588212
5.0241264 6.487798 6.3984048 6.5958535 6.6193687
6.7323294 9.1555806 9.0076742 9.3512757 9.3933313
9.155968 13.169387 12.924211 13.52359 13.599051
12.635236 19.306322 18.897781 19.949261 20.085537
7.4503011 0.7792154 1.1877556 0.1362756
h=0,05
Euler
Euler Mejor. Taylor-2
Taylor-3 y "exacta"
1
1
1
1
1
1.1
1.10775
1.1075
1.1079167 1.1079373
1.2155
1.2332304 1.2326613 1.2336297 1.2336781
1.349205 1.379769 1.3787933 1.3804894 1.3805749
1.5043636 1.5514122 1.5499188 1.5525722 1.5527072
1.6848872 1.7530958 1.7509433 1.7548537 1.7550547
1.8954981 1.9908595 1.9878678 1.993427 1.9937155
2.1419129 2.2721181 2.2680578 2.2757783 2.2761832
2.4310711 2.6060059 2.6005834 2.6111372 2.6116965
2.771421 3.0038127 2.9966523 3.0109214 3.0116858
3.1732771 3.4795415 3.4701608 3.489306 3.490343
3.6492687 4.0506213 4.0383996 4.063951 4.0653506

1.6
1.65
1.7
1.75
1.8
1.85
1.9
1.95
2
Error

4.2149053
4.8892902
5.696023
6.6643469
7.8306077
9.240117
10.949539
13.029951
15.570792

4.7388218
5.5714328
6.5827872
7.8162369
9.3267247
11.184142
13.47773
16.321868
19.863713

4.7229588
5.5508935
6.5562297
7.7819169
9.2823677
11.126774
13.403451
16.225548
19.738582

4.7569386
5.5959801
6.61598
7.8610667
9.3872395
11.265833
13.588062
16.471016
20.065582

4.5147454 0.2218239 0.3469551 0.0199554

4.7588212
5.5985073
6.6193687
7.8656093
9.3933313
11.274009
13.599051
16.48581
20.085537

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
1
1.2
1.4
1.6
1.8
2
Error

Euler

Euler Mejor.

1
1.4
1.536
2.072
2.5411584
3.23232
4.521229
5.3010048 8.6373559
1

9.1177283 17.689305
10.967809 2.396232
h=0,1

x
1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
2
Error

Euler

Euler Mejor.

1.2
1.464
1.81536
2.2873536
2.9278126
3.8061564
5.0241264
6.7323294
9.155968

1
1.232
1.5478848
1.98315
2.5907872
3.4509285
4.6863609
6.487798
9.1555806
13.169387

12.635236 19.306322
7.4503011 0.7792154
h=0,05

x
1
1.05
1.1
1.15
1.2
1.25
1.3
1.35
1.4
1.45
1.5
1.55

Euler

Euler Mejor.

1.1
1.2155
1.349205
1.5043636
1.6848872
1.8954981
2.1419129
2.4310711
2.771421
3.1732771
3.6492687

1
1.10775
1.2332304
1.379769
1.5514122
1.7530958
1.9908595
2.2721181
2.6060059
3.0038127
3.4795415
4.0506213

1.6
1.65
1.7
1.75
1.8
1.85
1.9
1.95
2
Error

4.2149053
4.8892902
5.696023
6.6643469
7.8306077
9.240117
10.949539
13.029951

4.7388218
5.5714328
6.5827872
7.8162369
9.3267247
11.184142
13.47773
16.321868

15.570792 19.863713
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:

h=0,2
RK3 (Heun)
1
1

1.5496059
2.598269
4.7119466
9.23737

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


Comparacin de los valores obtenidos con lo
RK4

1.5525461
2.6108596
4.755357
9.3798629

y "exacta"
1
1.5527072
2.6116965
4.7588212
9.3933313
20.085537

19.564766 20.033746
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
1.9926711 1.9936868 1.9937155
2.609608 2.6116332 2.6116965
3.4863543 3.4902106 3.490343
4.7513741 4.7585517 4.7588212
6.6056066 6.6188274 6.6193687
9.3679754 9.3922523 9.3933313
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

x=2

h
0.2
0.1
0.05

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


Comparacin de los valores obtenidos con lo
x=2

h
0.2
0.1
0.05

4.7577722
5.5970762
6.6174193
7.8629556
9.389719
11.26909
13.592345
16.476657

4.7588025
5.5984805
6.6193307
7.8655554
9.393255
11.273901
13.598898
16.485594

4.7588212
5.5985073
6.6193687
7.8656093
9.3933313
11.274009
13.599051
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

9.11772826 17.6893049 16.6181012 19.2943511

y "exacta"
20.085536923

0.2
0.4

12.6352359 19.3063215 18.8977813 19.9492613

0.6

15.5707915 19.863713

0.8

19.7385819 20.0655816

1
Error

x
0
0.1

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

0.2
0.3
0.4

Euler

Euler Mej. RK3 (Heun)

9.11772826 17.6893049 19.564766

RK4
20.0337463

y "exacta"
20.085536923

0.5
0.6

12.6352359 19.3063215 19.9987467 20.0812668

0.7

15.5707915 19.863713

0.8

20.0730239 20.0852306

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

1.12

1.08

1.08

1.3488

1.30453333 1.2528

1.0408107 1.04081077
1.1735095 1.17351087
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

1.01005017 1.01005017

1.03

1.02

1.02

1.04081077 1.04081077

1.0818

1.07153333 1.0608

1.158562

1.148693

1.09417427 1.09417428

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

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:

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Euler Mejor.
h=0,1

Error

1
2.7140808
7.3662348
19.992557
54.261416
147.26987
399.70233
1084.8244
2944.3012
7991.0716
21688.414
58864.11
159761.95
433606.86
1176844.1
3194049.9
8668909.8
23528122

0
0.0042009819
0.022821257
0.0929800271
0.3367342867
1.1432899154
3.7264622494
11.808716856
36.656748238
112.01232869
338.05142441
1010.0316792
2992.8378176
8806.5337228
25760.215132
74967.425267
217200.73569
626830.74562

Error / y_n

Euler Mejor.

Error

Error / y_n

h=0,01

0
0.0015454549
0.0030885213
0.004629203
0.0061675036
0.0077034269
0.0092369764
0.0107681559
0.0122969691
0.0138234195
0.0153475109
0.0168692469
0.0183886311
0.0199056671
0.0214203587
0.0229327094
0.0244427227
0.0259504025

1
2.7182368626
7.388811641
20.084540173
54.5945374659
148.400884234
403.388753962
1096.50618096
2980.56352111
8101.87763429
22022.8224415
59863.2477781
162722.486823
442318.262049
1202325.80489
3268206.32365
8883758.90339
24148160.9293

Euler Mejor.

Error

h=0,001

0
4.49659E-005
0.000244458
0.0009967502
0.0036125673
0.0122748684
0.0400395309
0.1269774673
0.3944659282
1.2062932831
3.6433533231
10.893937144
32.304596135
95.129959565
278.47927875
811.04882381
2351.6171154
6791.8242784

0
0.000016542
3.30838E-005
4.96253E-005
6.61665E-005
8.27074E-005
9.92481E-005
0.0001157885
0.0001323286
0.0001488684
0.000165408
0.0001819473
0.0001984863
0.000215025
0.0002315635
0.0002481017
0.0002646396
0.0002811773

1
2.7182813758
7.3890536378
20.085526888
54.598113662
148.41303552
403.42839037
1096.63188
2980.9540154
8103.0717821
22026.429112
59874.032028
162754.46615
442412.43417
1202601.4802
3269009.2061
8886086.842
24154884.366

0
4.5271E-007
2.4612E-006
1.0035E-005
3.6371E-005
0.000123585
0.000403126
0.001278446
0.003971629
0.012145507
0.036683233
0.109686892
0.325265302
0.957842909
2.803970354
8.166408243
23.67850377
68.38764373

18
19
20

63857225 1802743.8389 0.0274557522


173313672 5168628.8631 0.0289587754
470387318 14777877.508 0.0304594758

65640421.201 19547.936285 0.0002977147 65659772.305 196.831984


178426212.583 56088.38054 0.0003142518 178481736.19 564.7694697
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:

0
-1
-2
-3
-4
-5
-6
-7

Euler Mejor.
h=0,1

Error

1
0.368541
0.1358225
0.0500561
0.0184477
0.0067987
0.0025056
0.0009234

0
-0.0006615437
-0.0004871743
-0.0002690739
-0.0001321011
-6.08013E-005
-2.68652E-005
-1.15407E-005

Error / y_n

Euler Mejor.

Error

Error / y_n

h=0,01

0
-0.0017982621
-0.003599758
-0.0054044934
-0.0072124742
-0.0090237062
-0.0108381954
-0.0126559474

1
0.3678856187
0.1353398285
0.0497895765
0.0183168692
0.0067385127
0.0024790019
0.0009119892

Euler Mejor.

Error

h=0,001

0
-6.17754E-006
-4.54522E-006
-2.50816E-006
-1.23028E-006
-5.65747E-007
-2.49754E-007
-1.07194E-007

0
-1.67923E-005
-3.35849E-005
-5.03778E-005
-6.71709E-005
-8.39644E-005
-0.000100758
-0.0001175521

1
0.3678795025
0.1353353284
0.0497870933
0.0183156511
0.0067379526
0.0024787547
0.000911883

0
-6.136E-008
-4.515E-008
-2.491E-008
-1.222E-008
-5.619E-009
-2.481E-009
-1.065E-009

-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20

0.0003403
0.0001254
4.622E-005
1.704E-005
6.278E-006
2.314E-006
8.527E-007
3.143E-007
1.158E-007
4.268E-008
1.573E-008
5.797E-009
2.137E-009

-4.85648E-006
-2.01174E-006
-0.000000823
-3.33361E-007
-1.33906E-007
-5.34145E-008
-2.11808E-008
-8.35607E-009
-3.28192E-009
-1.28397E-009
-5.00583E-010
-1.94561E-010
-7.54101E-011

-0.0144769682
-0.0163012637
-0.0181288398
-0.0199597023
-0.0217938572
-0.0236313104
-0.0254720678
-0.0273161353
-0.029163519
-0.0310142248
-0.0328682586
-0.0347256265
-0.0365863344

0.0003355077
0.0001234285
4.540755E-005
1.670479E-005
6.145451E-006
2.260823E-006
8.317242E-007
0.000000306
1.125654E-007
4.141120E-008
1.523458E-008
5.604584E-009
2.061846E-009

-4.50682E-008
-1.86523E-008
-7.62427E-009
-3.08532E-009
-1.23822E-009
-4.93480E-010
-1.95507E-010
-7.70611E-011
-3.02394E-011
-1.18198E-011
-4.60409E-012
-1.78786E-012
-6.92341E-013

-0.000134346
-0.0001511409
-0.000167936
-0.000184731
-0.000201526
-0.000218322
-0.000235118
-0.000251914
-0.000268711
-0.000285508
-0.000302305
-0.000319102
-0.0003359

0.0003354631
0.00012341
0.0000454
1.67017E-005
6.14422E-006
2.26033E-006
8.31531E-007
3.05903E-007
1.12535E-007
4.13995E-008
1.52300E-008
5.60281E-009
2.06116E-009

-4.476E-010
-1.853E-010
-7.572E-011
-3.064E-011
-1.230E-011
-4.901E-012
-1.942E-012
-7.653E-013
-3.003E-013
-1.174E-013
-4.572E-014
-1.776E-014
-6.876E-015

Euler Mejor.

Error

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:

Euler Mejor.

Error

Error / y_n

Euler Mejor.

Error

Error / y_n

h=1
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

1
0.5
0.25
0.125
0.0625
0.03125
0.015625
0.0078125
0.0039063
0.0019531
0.0009766
0.0004883
0.0002441
0.0001221
6.104E-005
3.052E-005
1.526E-005
7.629E-006
3.815E-006
1.907E-006
9.537E-007

h=0,1

0
-0.1321205588
-0.1146647168
-0.0752129316
-0.0441843611
-0.024512053
-0.0131462478
-0.006900618
-0.0035707874
-0.0018297152
-0.0009311626
-0.0004715795
-0.0002379964
-0.00011981
-6.02036E-005
-3.02117E-005
-1.51463E-005
-0.000007588
-3.79947E-006
-1.90175E-006
-9.51613E-007

0
-0.3591409142
-0.8472640247
-1.5106921154
-2.4123843771
-3.637911222
-5.3035748983
-7.5674465502
-10.6443671369
-14.826335796
-20.5102205027
-28.2354207594
-38.7350564988
-53.0055410167
-72.4011403909
-98.7624930564
-134.591286018
-183.287664441
-249.472904729
-339.427972723
-461.689586077

1
0.3685409848
0.1358224575
0.0500561423
0.01844774
0.0067987483
0.0025056174
0.0009234227
0.0003403191
0.0001254215
0.000046223
1.703506E-005
6.278118E-006
2.313744E-006
8.527095E-007
3.142584E-007
1.158171E-007
4.268335E-008
1.573056E-008
5.797357E-009
2.136564E-009

h=0,01

0
-0.000661544
-0.000487174
-0.000269074
-0.0001321011
-6.08013E-005
-2.68652E-005
-1.15407E-005
-4.85648E-006
-2.01174E-006
-0.000000823
-3.33361E-007
-1.33906E-007
-5.34145E-008
-2.11808E-008
-8.35607E-009
-3.28192E-009
-1.28397E-009
-5.00583E-010
-1.94561E-010
-7.54101E-011

0
-0.001798262
-0.003599758
-0.005404493
-0.007212474
-0.009023706
-0.010838195
-0.012655947
-0.014476968
-0.016301264
-0.01812884
-0.019959702
-0.021793857
-0.02363131
-0.025472068
-0.027316135
-0.029163519
-0.031014225
-0.032868259
-0.034725626
-0.036586334

1
0.3678856187
0.1353398285
0.0497895765
0.0183168692
0.0067385127
0.0024790019
0.0009119892
0.0003355077
0.0001234285
4.54076E-005
1.67048E-005
6.14545E-006
2.26082E-006
8.31724E-007
0.000000306
1.12565E-007
4.14112E-008
1.52346E-008
5.60458E-009
2.06185E-009

0
-6.178E-006
-4.545E-006
-2.508E-006
-1.230E-006
-5.657E-007
-2.498E-007
-1.072E-007
-4.507E-008
-1.865E-008
-7.624E-009
-3.085E-009
-1.238E-009
-4.935E-010
-1.955E-010
-7.706E-011
-3.024E-011
-1.182E-011
-4.604E-012
-1.788E-012
-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:

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

Euler Mejor.
h=1

Error

1
421
177241
74618461
31414372081
1.32255E+013
5.56791E+015
2.34409E+018
9.86863E+020
4.15469E+023
1.74913E+026
7.36382E+028
3.10017E+031
1.30517E+034
5.49477E+036
2.31330E+039
9.73898E+041
4.10011E+044
1.72615E+047

0
-421
-177241
-74618461
-31414372081
-1.322545E+013
-5.567915E+015
-2.344092E+018
-9.868628E+020
-4.154692E+023
-1.749125E+026
-7.363818E+028
-3.100167E+031
-1.305170E+034
-5.494768E+036
-2.313297E+039
-9.738981E+041
-4.100111E+044
-1.726147E+047

Euler Mejor.

Error

h=0,1

1
9536.74316406
90949470.1773
867361737988
8.27181E+015
7.88861E+019
7.52316E+023
7.17465E+027
6.84228E+031
6.52530E+035
6.22302E+039
5.93473E+043
5.65980E+047
5.39761E+051
5.14756E+055
4.90909E+059
4.68168E+063
4.46479E+067
4.25796E+071

Euler Mejor.

Error

h=0,01

0
-9536.743164
-90949470.18
-8.6736E+011
-8.2718E+015
-7.8886E+019
-7.5232E+023
-7.1746E+027
-6.8423E+031
-6.5253E+035
-6.2230E+039
-5.9347E+043
-5.6598E+047
-5.3976E+051
-5.1476E+055
-4.9091E+059
-4.6817E+063
-4.4648E+067
-4.2580E+071

1
1.64296E-013
2.69932E-026
4.43488E-039
7.28633E-052
1.19712E-064
1.96682E-077
3.23140E-090
5.30907E-103
8.72259E-116
1.43309E-128
2.35451E-141
3.86836E-154
6.35557E-167
1.04420E-179
1.71557E-192
2.81862E-205
4.63088E-218
7.60836E-231

Euler Mejor.
h=0,001

0
-7.0720E-014
-1.8237E-026
-3.6155E-039
-6.5196E-052
-1.1254E-064
-1.8997E-077
-3.1686E-090
-5.2503E-103
-8.6676E-116
-1.4279E-128
-2.3497E-141
-3.8639E-154
-6.3514E-167
-1.0438E-179
-1.7152E-192
-2.8183E-205
-4.6306E-218
-7.6081E-231

1
9.4008E-014
8.8375E-027
8.3079E-040
7.8101E-053
7.3421E-066
6.9022E-079
6.4886E-092
6.0998E-105
5.7343E-118
5.3907E-131
5.0677E-144
4.7640E-157
4.4785E-170
4.2102E-183
3.9579E-196
3.7207E-209
3.4978E-222
3.2882E-235

19
20

7.26708E+049 -7.267078E+049 4.06071E+075 -4.0607E+075 1.25002E-243 -1.2500E-243 3.0912E-248


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.665E-007
3.331E-007
4.996E-007
6.662E-007
8.327E-007
9.993E-007
1.166E-006
1.332E-006
1.499E-006
1.665E-006
1.832E-006
1.998E-006
2.165E-006
2.332E-006
2.498E-006
2.665E-006
2.831E-006

1
2.7182818285
7.3890560989
20.085536923
54.598150033
148.4131591
403.42879349
1096.6331584
2980.957987
8103.0839276
22026.465795
59874.141715
162754.79142
442413.39201
1202604.2842
3269017.3725
8886110.5205
24154952.754

2.998E-006 65659969.137
3.164E-006 178482300.96
3.331E-006 485165195.41

Error / y_n

y "exacta"

0
-1.668E-007
-3.336E-007
-5.004E-007
-6.672E-007
-8.340E-007
-1.001E-006
-1.168E-006

1
0.3678794412
0.1353352832
0.0497870684
0.0183156389
0.006737947
0.0024787522
0.000911882

-1.334E-006
-1.501E-006
-1.668E-006
-1.835E-006
-2.002E-006
-2.168E-006
-2.335E-006
-2.502E-006
-2.669E-006
-2.835E-006
-3.002E-006
-3.169E-006
-3.336E-006

0.0003354626
0.0001234098
4.53999E-005
1.67017E-005
6.14421E-006
2.26033E-006
8.31529E-007
3.05902E-007
1.12535E-007
4.13994E-008
1.52300E-008
5.60280E-009
2.06115E-009

Error / y_n

y "exacta"

0
-1.679E-005
-3.358E-005
-5.038E-005
-6.717E-005
-8.396E-005
-0.00010076
-0.00011755
-0.00013435
-0.00015114
-0.00016794
-0.00018473
-0.00020153
-0.00021832
-0.00023512
-0.00025191
-0.00026871
-0.00028551
-0.0003023
-0.0003191
-0.0003359

1
0.3678794412
0.1353352832
0.0497870684
0.0183156389
0.006737947
0.0024787522
0.000911882
0.0003354626
0.0001234098
4.53999E-005
1.67017E-005
6.14421E-006
2.26033E-006
8.31529E-007
3.05902E-007
1.12535E-007
4.13994E-008
1.52300E-008
5.60280E-009
2.06115E-009

Error

y "exacta"

0
-4.317E-016
-8.098E-029
-1.139E-041
-1.425E-054
-1.670E-067
-1.880E-080
-2.057E-093
-2.205E-106
-2.327E-119
-2.425E-132
-2.502E-145
-2.560E-158
-2.601E-171
-2.627E-184
-2.640E-197
-2.641E-210
-2.632E-223
-2.614E-236

1
9.35762E-014
8.75651E-027
8.19401E-040
7.66765E-053
7.17510E-066
6.71418E-079
6.28288E-092
5.87928E-105
5.50161E-118
5.14820E-131
4.81749E-144
4.50803E-157
4.21844E-170
3.94746E-183
3.69388E-196
3.45660E-209
3.23455E-222
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
Valor inicial
Valor inicial
Valor inicial
Aproxim. en

y+x*y-y+2y=x-3
y(0)=0
y(0)=0
y(0)=1
x=1

Cambio de incgnitas
y=y1
y=y2
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
y2
y3

0
0
-2

Mtodo Runge-Kutta

Frmulas

x0
xN
xN-x0

0.00
1.00
1.00

0.10 N
n

xn
0.00

0.00
0.10
1.00
0.20
2.00
0.30
3.00
0.40
4.00
0.50
5.00
0.60
6.00
0.70
7.00
0.80
8.00
0.90
9.00
1.00
10.00

1
0
1

0
1
-x

y1
y2
y3

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

z0

0
0
1

10.00
zn
0.0000
0.0000
1.0000
0.0050
0.0850
0.7125
0.0171
0.1418
0.4487
0.0335
0.1727
0.2086
0.0518
0.1803
-0.0076
0.0698
0.1669
-0.1997
0.0855
0.1351
-0.3678
0.0972
0.0872
-0.5120
0.1033
0.0258
-0.6324
0.1027
-0.0468
-0.7295
0.0944
-0.1282
-0.8039

f(xn,zn)
0.0000
1.0000
-3.0000
0.0850
0.7125
-2.8963
0.1418
0.4487
-2.7821
0.1727
0.2086
-2.6568
0.1803
-0.0076
-2.5203
0.1669
-0.1997
-2.3728
0.1351
-0.3678
-2.2152
0.0872
-0.5120
-2.0487
0.0258
-0.6324
-1.8749
-0.0468
-0.7295
-1.6958
-0.1282
-0.8039
-1.5132

k1
0.0000
1.0000
-3.0000
0.0850
0.7125
-2.8963
0.1418
0.4487
-2.7821
0.1727
0.2086
-2.6568
0.1803
-0.0076
-2.5203
0.1669
-0.1997
-2.3728
0.1351
-0.3678
-2.2152
0.0872
-0.5120
-2.0487
0.0258
-0.6324
-1.8749
-0.0468
-0.7295
-1.6958
-0.1282
-0.8039
-1.5132

xn+h/2
zn+h*k1/2
0.5000
0.0000
0.0500
0.8500
0.6000
0.0093
0.1206
0.5677
0.7000
0.0242
0.1642
0.3095
0.8000
0.0421
0.1832
0.0757
0.9000
0.0608
0.1799
-0.1336
1.0000
0.0781
0.1569
-0.3184
1.1000
0.0922
0.1167
-0.4786
1.2000
0.1015
0.0616
-0.6144
1.3000
0.1046
-0.0058
-0.7261
1.4000
0.1004
-0.0833
-0.8143
1.5000
0.0880
-0.1684
-0.8796

k2
0.0500
0.8500
-2.8750
0.1206
0.5677
-2.6385
0.1642
0.3095
-2.4008
0.1832
0.0757
-2.1617
0.1799
-0.1336
-1.9215
0.1569
-0.3184
-1.6809
0.1167
-0.4786
-1.4413
0.0616
-0.6144
-1.2041
-0.0058
-0.7261
-0.9711
-0.0833
-0.8143
-0.7441
-0.1684
-0.8796
-0.5251

0
0
x-3

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES


Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

0.40000000
0.38000000

Tabla resumen
Mtodo
Euler
Taylor 2
Taylor 3
Euler mejorado
Euler modificado
R-K 3 (Heun)
R-K 4
A-B 2
A-B 3
A-B 4

0.36000000

h=0,2
0.24285675
0.33146904
0.34913030
0.35625707
0.34382366
0.34999356
0.31169181
0.31430931
0.34100053
0.33225288

h=0,1
0.29254210
0.34526747
0.35006410
0.35183013
0.34854534
0.35019987
0.33486614
0.33914326
0.34855041
0.34841367

h=0,05
0.32021162
0.34895613
0.35020881
0.35064634
0.34980098
0.35022773
0.34247836
0.34721256
0.34997965
0.35001839

Euler

0.34000000

Taylor 2
Taylor 3

0.32000000

Euler mejorado
Euler
modific ado

0.30000000

R-K 3 (Heun)
R-K 4

0.28000000

A-B 2
A-B 3

0.26000000

A-B 4

0.24000000
0.22000000
0.20000000
0.5

1.5

2.5

3.5

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES


Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

x0
z0
xN
xN-x0

0.00
0.00
1.00
1.00

Mtodo de Euler
Frmulas utilizadas:

0.20 N
n
0.00
1.00
2.00
3.00
4.00
5.00

xn
0.00
0.20
0.40
0.60
0.80
1.00

5.00
zn
0.00000000
0.00000000
0.00800000
0.04001280
0.11233300
0.24285675

0.10 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00

xn
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00

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

f(xn,zn)
0.00000000
0.04000000
0.16006400
0.36160102
0.65261870
1.05897940
10.00

zn
0.00000000
0.00000000
0.00100000
0.00500010
0.01400260
0.03002221
0.05511234
0.09141608
0.14125177
0.20724697
0.29254210

f(xn,zn)
0.00000000
0.01000000
0.04000100
0.09002500
0.16019607
0.25090133
0.36303737
0.49835690
0.65995206
0.85295131
1.08558088

f(xn,zn)=xn^2+zn^2

0.05 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
16.00
17.00
18.00
19.00
20.00

xn
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00

20.00
zn
0.00000000
0.00000000
0.00012500
0.00062500
0.00175002
0.00375017
0.00687588
0.01137824
0.01750971
0.02552504
0.03568262
0.04824628
0.06348767
0.08168920
0.10314786
0.12817983
0.15712634
0.19036077
0.22829763
0.27140362
0.32021162

f(xn,zn)
0.00000000
0.00250000
0.01000002
0.02250039
0.04000306
0.06251406
0.09004728
0.12262946
0.16030659
0.20315153
0.25127325
0.30482770
0.36403068
0.42917313
0.50063948
0.57893007
0.66468869
0.75873722
0.86211981
0.97615993
1.10253548

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES


Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

x0
z0
xN
xN-x0

0.00
0.00
1.00
1.00

Mtodo de Taylor de orden 2


Frmulas utilizadas:

0.20 N
n
0.00
1.00
2.00
3.00
4.00
5.00

xn
0.00
0.20
0.40
0.60
0.80
1.00

5.00
zn
0.00000000
0.00000000
0.01600000
0.06415376
0.16191128
0.33146904

0.10 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00

xn
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00

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

f(xn,zn)
0.00000000
0.04000000
0.16025600
0.36411571
0.66621526
1.10987173

h
f(xn,zn)
0.00000000
0.40000000
0.80512819
1.24671879
1.81573553
2.73577624

10.00
zn
0.00000000
0.00000000
0.00200000
0.00800120
0.02001481
0.04008697
0.07034853
0.11310016
0.17094798
0.24701432
0.34526747

f(xn,zn)
0.00000000
0.01000000
0.04000400
0.09006402
0.16040059
0.25160697
0.36494892
0.50279165
0.66922321
0.87101608
1.11920962

f(xn,zn)=xn^2+zn^2
f(xn,zn)=2*xn+2*zn*f(xn,zn)

f(xn,zn)
0.00000000
0.20000000
0.40016002
0.60144124
0.80642077
1.02017232
1.25134724
1.51373163
1.82880471
2.23030690
2.77285334

0.05 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
16.00
17.00
18.00
19.00
20.00

xn
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00

20.00
zn
0.00000000
0.00000000
0.00025000
0.00100001
0.00250012
0.00500068
0.00875271
0.01400851
0.02102262
0.03005315
0.04136359
0.05522517
0.07191984
0.09174413
0.11501381
0.14206991
0.17328606
0.20907773
0.24991390
0.29633185
0.34895613

f(xn,zn)
0.00000000
0.00250000
0.01000006
0.02250100
0.04000625
0.06252501
0.09007661
0.12269624
0.16044195
0.20340319
0.25171095
0.30554982
0.36517246
0.43091698
0.50322818
0.58268386
0.67002806
0.76621350
0.87245696
0.99031256
1.12177038

f(xn,zn)
0.00000000
0.10000000
0.20000500
0.30004500
0.40020004
0.50062533
0.60157683
0.70343758
0.80674582
0.91222581
1.02082334
1.13374808
1.25252629
1.37906820
1.51575638
1.66556369
1.83221305
2.02039636
2.23607825
2.48692230
2.78289730

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES


Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

x0
z0
xN
xN-x0

0.00
0.00
1.00
1.00

Mtodo de Taylor de orden 3


Frmulas utilizadas:

0.20 N
n
0.00
1.00
2.00
3.00
4.00
5.00

xn
0.00
0.20
0.40
0.60
0.80
1.00

5.00
zn
0.00000000
0.00266667
0.02134614
0.07235552
0.17372379
0.34913030

0.10 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00

xn
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00

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

f(xn,zn)
0.00000000
0.04000711
0.16045566
0.36523532
0.67017995
1.12189196

h
f(xn,zn)
0.00000000
0.40021337
0.80685022
1.25285359
1.83285240
2.78337295

f(xn,zn)
2.00000000
2.00533561
2.08593831
2.44809544
3.53510246
6.46080280

f(xn,zn)
0.00000000
0.20000667
0.40021338
0.60162196
0.80685367
1.02103809
1.25291168
1.51640951
1.83329319
2.23786654
2.78592534

f(xn,zn)
2.00000000
2.00033334
2.00533569
2.02706172
2.08595600
2.21207889
2.44831391
2.85744849
3.53664275
4.64648595
6.47071892

10.00
zn
0.00000000
0.00033333
0.00266677
0.00900277
0.02135683
0.04178436
0.07243283
0.11563009
0.17402541
0.25080980
0.35006410

f(xn,zn)
0.00000000
0.01000011
0.04000711
0.09008105
0.16045611
0.25174593
0.36524651
0.50337032
0.67028484
0.87290556
1.12254488

f(xn,zn)=xn^2+zn^2
f(xn,zn)=2*xn+2*zn*f(xn,zn)
f(xn,zn)=2+2*f(xn-zn)^2+4*xn*zn+4*zn^2*f(xn,zn)
0.05 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
16.00
17.00
18.00
19.00
20.00

xn
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00

24

20.00
zn
0.00000000
0.00004167
0.00033333
0.00112502
0.00266685
0.00520925
0.00900336
0.01430167
0.02135900
0.03043383
0.04179017
0.05569988
0.07244575
0.09232532
0.11565572
0.14277961
0.17407271
0.20995317
0.25089339
0.29743512
0.35020881

f(xn,zn)
0.00000000
0.00250000
0.01000011
0.02250127
0.04000711
0.06252714
0.09008106
0.12270454
0.16045621
0.20342622
0.25174642
0.30560248
0.36524839
0.43102397
0.50337625
0.58288602
0.67030131
0.76658033
0.87294749
0.99096765
1.12264621

f(xn,zn)
0.00000000
0.10000021
0.20000667
0.30005063
0.40021339
0.50065144
0.60162206
0.70350976
0.80685437
0.91238208
1.02104105
1.13404404
1.25292138
1.37958886
1.51643669
1.66644848
1.83336233
2.02189194
2.23803351
2.48949716
2.78632118

f(xn,zn)
2.00000000
2.00002083
2.00033334
2.00168774
2.00533576
2.01303532
2.02706243
2.05023554
2.08595959
2.13829902
2.21209148
2.31311798
2.44835042
2.62630530
2.85754446
3.15538196
3.53688440
4.02429604
4.64709026
5.44496153
6.47225747

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES


Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

x0
z0
xN
xN-x0

0.00
0.00
1.00
1.00

Mtodo de Euler mejorado


Frmulas utilizadas:

0.20 N
n
0.00
1.00
2.00
3.00
4.00
5.00

xn
0.00
0.20
0.40
0.60
0.80
1.00

5.00
zn
0.00000000
0.00400000
0.02401601
0.07638876
0.17920898
0.35625707

0.10 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00

xn
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00

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

f(xn,zn)
zn+h*f(xn,zn)
0.00000000
0.00000000
0.04001600
0.01200320
0.16057677
0.05613136
0.36583524
0.14955581
0.67211586
0.31363215
1.12691910
0.58164089
10.00

zn
0.00000000
0.00050000
0.00300013
0.00950303
0.02202468
0.04262141
0.07344210
0.11681658
0.17539637
0.25237421
0.35183013

f(xn,zn)
zn+h*f(xn,zn)
0.00000000
0.00000000
0.01000025
0.00150003
0.04000900
0.00700103
0.09009031
0.01851206
0.16048509
0.03807318
0.25181658
0.06780307
0.36539374
0.10998147
0.50364611
0.16718120
0.67076389
0.24247276
0.87369274
0.33974349
1.12378444
0.46420858

0.05 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
16.00
17.00
18.00
19.00
20.00

xn
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00

20.00
zn
0.00000000
0.00006250
0.00037500
0.00118752
0.00275019
0.00531345
0.00912843
0.01444766
0.02152597
0.03062188
0.04199943
0.05593052
0.07269801
0.09259949
0.11595213
0.14309865
0.17441481
0.21031876
0.25128285
0.29784866
0.35064634

f(xn,zn)
zn+h*f(xn,zn)
0.00000000
0.00000000
0.00250000
0.00018750
0.01000014
0.00087501
0.02250141
0.00231259
0.04000756
0.00475057
0.06252823
0.00843986
0.09008333
0.01363260
0.12270873
0.02058310
0.16046337
0.02954914
0.20343770
0.04079377
0.25176395
0.05458763
0.30562822
0.07121194
0.36528500
0.09096226
0.43107467
0.11415322
0.50344490
0.14112437
0.58297722
0.17224751
0.67042053
0.20793584
0.76673398
0.24865546
0.87314307
0.29494000
0.99121383
0.34740936
1.12295286
0.40679398

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES


Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

x0
z0
xN
xN-x0

0.00
0.00
1.00
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)

0.20 N
n
0.00
1.00
2.00
3.00
4.00
5.00

xn
0.00
0.20
0.40
0.60
0.80
1.00

5.00
zn
0.00000000
0.00200000
0.02000720
0.07026708
0.17054666
0.34382366

0.10 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00

xn
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00

f(xn,zn)
0.00000000
0.04000400
0.16040029
0.36493746
0.66908616
1.11821471

h
zn+h/2
zn+h*f(xn,zn)/2
0.10000000
0.00000000
0.30000000
0.00600040
0.50000000
0.03604723
0.70000000
0.10676083
0.90000000
0.23745527
1.10000000
0.45564513

10.00
zn
0.00000000
0.00025000
0.00250006
0.00875208
0.02101965
0.04135400
0.07189494
0.11495771
0.17317102
0.24969229
0.34854534

f(xn,zn)
0.00000000
0.01000006
0.04000625
0.09007660
0.16044183
0.25171015
0.36516888
0.50321527
0.66998820
0.87234624
1.12148386

zn+h/2
zn+h*f(xn,zn)/2
0.05000000
0.00000000
0.15000000
0.00075000
0.25000000
0.00450037
0.35000000
0.01325591
0.45000000
0.02904174
0.55000000
0.05393950
0.65000000
0.09015339
0.75000000
0.14011847
0.85000000
0.20667043
0.95000000
0.29330960
1.05000000
0.40461954

0.05 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
16.00
17.00
18.00
19.00
20.00

xn
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00

20.00
zn
0.00000000
0.00003125
0.00031250
0.00109377
0.00262515
0.00515706
0.00894057
0.01422808
0.02127429
0.03033751
0.04168150
0.05557783
0.07230890
0.09217177
0.11548292
0.14258422
0.17385035
0.20969814
0.25059823
0.29709006
0.34980098

f(xn,zn)
0.00000000
0.00250000
0.01000010
0.02250120
0.04000689
0.06252660
0.09007993
0.12270244
0.16045260
0.20342036
0.25173735
0.30558889
0.36522858
0.43099564
0.50333630
0.58283026
0.67022395
0.76647331
0.87279947
0.99076251
1.12236073

zn+h/2
zn+h*f(xn,zn)/2
0.02500000
0.00000000
0.07500000
0.00009375
0.12500000
0.00056250
0.17500000
0.00165630
0.22500000
0.00362533
0.27500000
0.00672023
0.32500000
0.01119257
0.37500000
0.01729564
0.42500000
0.02528560
0.47500000
0.03542302
0.52500000
0.04797493
0.57500000
0.06321755
0.62500000
0.08143961
0.67500000
0.10294666
0.72500000
0.12806633
0.77500000
0.15715498
0.82500000
0.19060595
0.87500000
0.22885997
0.92500000
0.27241822
0.97500000
0.32185913
1.02500000
0.37786000

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES


Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

x0
z0
xN
xN-x0

0.00
0.00
1.00
1.00

0.00
0.00
1.00
1.00

0.00
0.00
1.00
1.00

Mtodo de Runge-Kutta 3 (Heun)


Frmulas utilizadas:

0.20 N
n
0.00
1.00
2.00
3.00
4.00
5.00

xn
0.00
0.20
0.40
0.60
0.80
1.00

5.00
zn
0.00000000
0.00266672
0.02135589
0.07242835
0.17400813
0.34999356

0.10 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00

xn
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00

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

n=(xN-x0)/h
xn=x0+n*h
zn+1=zn+h*(k1+3*k3)/4

f(xn,zn)
0.00000000
0.04000711
0.16045607
0.36524587
0.67027883
1.12249550

h
k1
0.00000000
0.04000711
0.16045607
0.36524587
0.67027883
1.12249550

k2
0.00444444
0.07113956
0.21880517
0.45381044
0.79893791
1.31825542

k3
0.01777813
0.11125878
0.28699772
0.55544987
0.94980998
1.56086902

k1
0.00000000
0.01000011
0.04000711
0.09008106
0.16045620
0.25174640
0.36524832
0.50337604
0.67030064
0.87294543
1.12263995

k2
0.00111111
0.01777822
0.05446045
0.11125526
0.18849107
0.28696263
0.40827170
0.55531655
0.73302296
0.94950409
1.21802798

k3
0.00444445
0.02778008
0.07115077
0.13471407
0.21892868
0.32482246
0.45437724
0.61108771
0.80081290
1.03315952
1.32388524

10.00
zn
0.00000000
0.00033333
0.00266684
0.00900333
0.02135891
0.04178997
0.07244531
0.11565481
0.17407079
0.25088928
0.35019987

f(xn,zn)
0.00000000
0.01000011
0.04000711
0.09008106
0.16045620
0.25174640
0.36524832
0.50337604
0.67030064
0.87294543
1.12263995

0.05 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
16.00
17.00
18.00
19.00
20.00

xn
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00

20.00
zn
0.00000000
0.00004167
0.00033333
0.00112503
0.00266687
0.00520929
0.00900345
0.01430185
0.02135932
0.03043436
0.04179100
0.05570111
0.07244754
0.09232785
0.11565921
0.14278435
0.17407906
0.20996158
0.25090446
0.29744961
0.35022773

f(xn,zn)
0.00000000
0.00250000
0.01000011
0.02250127
0.04000711
0.06252714
0.09008106
0.12270454
0.16045622
0.20342625
0.25174649
0.30560261
0.36524865
0.43102443
0.50337705
0.58288737
0.67030352
0.76658387
0.87295305
0.99097627
1.12265947

k1
0.00000000
0.00250000
0.01000011
0.02250127
0.04000711
0.06252714
0.09008106
0.12270454
0.16045622
0.20342625
0.25174649
0.30560261
0.36524865
0.43102443
0.50337705
0.58288737
0.67030352
0.76658387
0.87295305
0.99097627
1.12265947

k2
0.00027778
0.00444445
0.01361136
0.02778003
0.04695556
0.07115019
0.10038813
0.13471167
0.17418872
0.21892189
0.26905923
0.32480708
0.38644553
0.45434700
0.52899922
0.61103377
0.70126230
0.80072332
0.91074343
1.03301902
1.16972689

k3
0.00111111
0.00694448
0.01777840
0.03361532
0.05446235
0.08033525
0.11126363
0.14729759
0.18851575
0.23503480
0.28702099
0.34470375
0.40839216
0.47849484
0.55554467
0.64022973
0.73343271
0.83628212
0.95021975
1.07709115
1.21926892

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES


Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

x0
z0
xN
xN-x0

0.00
0.00
1.00
1.00

0.00
0.00
1.00
1.00

0.00
0.00
1.00
1.00

0.00
0.00
1.00
1.00

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

Frmulas utilizadas:

0.20 N
n
0.00
1.00
2.00
3.00
4.00
5.00

xn
0.00
0.20
0.40
0.60
0.80
1.00

5.00
zn
0.00000000
0.00266687
0.02136009
0.07245120
0.17409018
0.35025755

0.10 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00

xn
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00

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

f(xn,zn)
0.00000000
0.04000711
0.16045625
0.36524918
0.67030739
1.12268035

h
k1
0.00000000
0.04000711
0.16045625
0.36524918
0.67030739
1.12268035

k2
0.01000000
0.09004446
0.25139919
0.50187579
0.86813930
1.42392992

k3
0.01000100
0.09013622
0.25216225
0.50504027
0.87807096
1.45270456

k4
0.04000400
0.16042825
0.36515417
0.67008811
1.12229315
1.85062267

k1
0.00000000
0.01000011
0.04000711
0.09008106
0.16045623
0.25174651
0.36524873
0.50337731
0.67030420
0.87295476
1.12266367

k2
0.00250000
0.02250069
0.06252178
0.12268245
0.20336332
0.30545703
0.43072841
0.58233286
0.76559619
0.98926301
1.26763408

k3
0.00250002
0.02250213
0.06253356
0.12272915
0.20349399
0.30575632
0.43133309
0.58346036
0.76759712
0.99272275
1.27357774

k4
0.01000006
0.04000667
0.09007957
0.16045269
0.25173963
0.36523697
0.50335907
0.67027821
0.87292106
1.12262613
1.43809366

10.00
zn
0.00000000
0.00033333
0.00266688
0.00900350
0.02135945
0.04179129
0.07244812
0.11566030
0.17408100
0.25090787
0.35023374

f(xn,zn)
0.00000000
0.01000011
0.04000711
0.09008106
0.16045623
0.25174651
0.36524873
0.50337731
0.67030420
0.87295476
1.12266367

0.05 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
16.00
17.00
18.00
19.00
20.00

xn
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00

20.00
zn
0.00000000
0.00004167
0.00033333
0.00112503
0.00266687
0.00520930
0.00900348
0.01430189
0.02135939
0.03043447
0.04179116
0.05570135
0.07244788
0.09232833
0.11565988
0.14278527
0.17408031
0.20996328
0.25090676
0.29745273
0.35023197

f(xn,zn)
0.00000000
0.00250000
0.01000011
0.02250127
0.04000711
0.06252714
0.09008106
0.12270454
0.16045622
0.20342626
0.25174650
0.30560264
0.36524870
0.43102452
0.50337721
0.58288763
0.67030396
0.76658458
0.87295420
0.99097813
1.12266243

k1
0.00000000
0.00250000
0.01000011
0.02250127
0.04000711
0.06252714
0.09008106
0.12270454
0.16045622
0.20342626
0.25174650
0.30560264
0.36524870
0.43102452
0.50337721
0.58288763
0.67030396
0.76658458
0.87295420
0.99097813
1.12266243

k2
0.00062500
0.00562501
0.01562534
0.03062785
0.05063845
0.07567087
0.10575169
0.14092670
0.18126868
0.22688668
0.27793715
0.33463714
0.39728015
0.46625542
0.54207160
0.62538637
0.71704411
0.81812459
0.93000699
1.05445536
1.19373478

k3
0.00062500
0.00562503
0.01562552
0.03062857
0.05064047
0.07567543
0.10576066
0.14094273
0.18129535
0.22692869
0.27800055
0.33472962
0.39741145
0.46643782
0.54232066
0.62572188
0.71749146
0.81871672
0.93078703
1.05548058
1.19508227

k4
0.00250000
0.01000010
0.02250124
0.04000706
0.06252703
0.09008088
0.12270425
0.16045578
0.20342563
0.25174564
0.30560151
0.36524724
0.43102270
0.50337497
0.58288496
0.67030084
0.76658105
0.87295037
0.99097419
1.12265878
1.27058859

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES


Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

x0
z0
xN
xN-x0

0.00
0.00
1.00
1.00

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


Frmulas utilizadas:

0.20 N
n
0.00
1.00
2.00
3.00
4.00
5.00

xn
0.00
0.20
0.40
0.60
0.80
1.00

5.00
zn
0.00000000
0.00266687
0.01466900
0.05873284
0.15174619
0.31430931

0.10 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00

xn
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00

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

f(xn,zn)
0.00000000
0.04000711
0.16021518
0.36344955
0.66302691
1.09879034
10.00

zn
0.00000000
0.00018750
0.00168751
0.00718793
0.01869554
0.03824538
0.06794731
0.11006670
0.16715307
0.24223835
0.33914326

f(xn,zn)
0.00000000
0.01000004
0.04000285
0.09005167
0.16034952
0.25146271
0.36461684
0.50211468
0.66794015
0.86867942
1.11501815

0.05 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
16.00
17.00
18.00
19.00
20.00

xn
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00

20.00
zn
0.00000000
0.00002344
0.00021094
0.00089844
0.00233600
0.00477389
0.00846296
0.01365526
0.02060496
0.02956964
0.04081210
0.05460267
0.07122213
0.09096554
0.11414683
0.14110468
0.17220973
0.20787368
0.24856063
0.29480153
0.34721256

f(xn,zn)
0.00000000
0.00250000
0.01000004
0.02250081
0.04000546
0.06252279
0.09007162
0.12268647
0.16042456
0.20337436
0.25166563
0.30548145
0.36507259
0.43077473
0.50302950
0.58241053
0.66965619
0.76571147
0.87178239
0.98940794
1.12055656

RESOLUCIN NUMRICA DE ECUACIONES DIFERENCIALES


Ec. a resolver
Valor inicial
Aproxim. en

y=x^2+y^2
y(0)=0
x=1

x0
z0
xN
xN-x0

0.00
0.00
1.00
1.00

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


Frmulas utilizadas:

0.20 N
n
0.00
1.00
2.00
3.00
4.00
5.00

xn
0.00
0.20
0.40
0.60
0.80
1.00

5.00
zn
0.00000000
0.00266687
0.01749388
0.05942286
0.15955966
0.33225288

0.10 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00

xn
0.00
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00

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

f(xn,zn)
0.00000000
0.04000711
0.16030604
0.36353108
0.66545929
1.11039198
10.00

zn
0.00000000
0.00018750
0.00212513
0.00781481
0.02016104
0.04057320
0.07119311
0.11434365
0.17266576
0.24933686
0.34841367

f(xn,zn)
0.00000000
0.01000004
0.04000452
0.09006107
0.16040647
0.25164618
0.36506846
0.50307447
0.66981347
0.87216887
1.12139208

0.05 N
n
0.00
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
16.00
17.00
18.00
19.00
20.00

xn
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
0.55
0.60
0.65
0.70
0.75
0.80
0.85
0.90
0.95
1.00

20.00
zn
0.00000000
0.00002344
0.00026563
0.00097658
0.00251835
0.00506063
0.00885452
0.01415250
0.02120933
0.03028349
0.04163891
0.05554744
0.07229180
0.09216948
0.11549751
0.14261847
0.17390795
0.20978393
0.25071859
0.29725340
0.35001839

f(xn,zn)
0.00000000
0.00250000
0.01000007
0.02250095
0.04000634
0.06252561
0.09007840
0.12270029
0.16044984
0.20341709
0.25173380
0.30558552
0.36522610
0.43099521
0.50333968
0.58284003
0.67024398
0.76650930
0.87285981
0.99085959
1.12251288