Lictaoa Vizon Exercise-10.1

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 8

EULER SOLUTION

n xn yn increment exact values error


0 0.0 2.00000 -0.02000 2.00000 0.00000
1.0 0.1 1.98000 -0.01980 1.98010 0.00010
2.0 0.2 1.96020 -0.01960 1.96040 0.00020
3.0 0.3 1.94060 -0.01941 1.94089 0.00029
4.0 0.4 1.92119 -0.01921 1.92158 0.00039
5.0 0.5 1.90198 -0.01902 1.90246 0.00048

RUNGE KUTTA
n xn yn k1 k2 k3 k4 increment exact values
0 0 2.000000 -0.020000 -0.019900 -0.019901 -0.019801 -0.019900 2.000000
1 0.1 1.980100 -0.019801 -0.019702 -0.019702 -0.019604 -0.019702 1.980100
2 0.2 1.960397 -0.019604 -0.019506 -0.019506 -0.019409 -0.019506 1.960397
3 0.3 1.940891 -0.019409 -0.019312 -0.019312 -0.019216 -0.019312 1.940891
4 0.4 1.921579 -0.019216 -0.019120 -0.019120 -0.019025 -0.019120 1.921579
5 0.5 1.902459 -0.019025 -0.018929 -0.018930 -0.018835 -0.018930 1.902459
6 0.6 1.883529 -0.018835 -0.018741 -0.018742 -0.018648 -0.018741 1.883529
7 0.7 1.864788 -0.018648 -0.018555 -0.018555 -0.018462 -0.018555 1.864788
8 0.8 1.846233 -0.018462 -0.018370 -0.018370 -0.018279 -0.018370 1.846233
9 0.9 1.827862 -0.018279 -0.018187 -0.018188 -0.018097 -0.018188 1.827862
10 1 1.809675 -0.018097 -0.018006 -0.018007 -0.017917 -0.018007 1.809675

n xn yn increment exact values error


0 0 2.000000 -0.019900 2.000000 0.000000
1 0.1 1.980100 -0.019702 1.980100 0.000000
2 0.2 1.960397 -0.019506 1.960397 0.000000
3 0.3 1.940891 -0.019312 1.940891 0.000000
4 0.4 1.921579 -0.019120 1.921579 0.000000
5 0.5 1.902459 -0.018930 1.902459 0.000000
error
2.019801
1.999704
1.979806
1.960107
1.940603
1.921294
1.902177
1.883250
1.864511
1.845959
1.827592
EULER SOLUTION
n xn yn increment exact values error
0 0.0 0.00000 0.00000 0.00000 0.00000
1.0 0.2 0.00000 0.04000 0.02140 0.02140
2.0 0.4 0.04000 0.08800 0.09182 0.05182
3.0 0.6 0.12800 0.14560 0.22212 0.09412
4.0 0.8 0.27360 0.21472 0.42554 0.15194
5.0 1.0 0.48832 0.29766 0.71828 0.22996
6.0 1.2 0.78598 0.39720 1.12012 0.33413
7.0 1.4 1.18318 0.51664 1.65520 0.47202
8.0 1.6 1.69982 0.65996 2.35303 0.65322
9.0 1.8 2.35978 0.83196 3.24965 0.88987
10.0 2.0 3.19174 1.03835 4.38906 1.19732
Exact Solution y = 3*e^x -x - 1
RUNGE KUTTA
n xn yn k1 k2 k3 k4 increment exact values
0 0.0 2.000000 0.400000 0.460000 0.466000 0.533200 0.464200 2.000000
1.0 0.2 2.464200 0.532840 0.606124 0.613452 0.695530 0.611254 2.464208
2.0 0.4 3.075454 0.695091 0.784600 0.793551 0.893801 0.790865 3.075474
3.0 0.6 3.866319 0.893264 1.002590 1.013523 1.135968 1.010243 3.866356
4.0 0.8 4.876562 1.135312 1.268844 1.282197 1.431752 1.278191 4.876623
5.0 1.0 6.154753 1.430951 1.594046 1.610355 1.793022 1.605462 6.154845
6.0 1.2 7.760216 1.792043 1.991247 2.011168 2.234277 2.005192 7.760351
7.0 1.4 9.765408 2.233082 2.476390 2.500720 2.773226 2.493421 9.765600
8.0 1.6 12.258829 2.771766 3.068942 3.098660 3.431498 3.089745 12.259097
9.0 1.8 15.348574 3.429715 3.792686 3.828983 4.235511 3.818094 15.348942
10.0 2.0 19.166668 4.233334 4.676667 4.721000 5.217534 4.707700 19.167168
error
0.000000
0.000008
0.000020
0.000037
0.000060
0.000092
0.000135
0.000192
0.000268
0.000369
0.000501

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy