0% found this document useful (0 votes)
23 views3 pages

Advanced Mat HW 1

Uploaded by

AYB LRN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views3 pages

Advanced Mat HW 1

Uploaded by

AYB LRN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Euler scheme

𝑑𝑦/𝑑𝑥=𝑦/(𝑦−𝑥) 𝑦_(𝑖+1)=𝑦_𝑖+𝑘1+𝑂(ℎ^2 )
k1=h*f(xi,yi)
example 1.5.2
h= delta x
O(h^2)=Error

given y(2)=6 , exact solution is


h 0.1

𝑦=𝑥+√(𝑥^2+12 )
or
ERR= abs(yi-yi-exact)
𝑦_(𝑖−𝑒𝑥𝑎𝑐𝑡)=𝑥_𝑖+√(𝑥_𝑖^2+12)

xi k1 yi yi+1 O(h^2) yi-exact ERR


2 0.15 6 6.15 0 6 0
2.1 0.1518519 6.15 6.301852 0 6.150926 0.000926
2.2 0.1536343 6.301852 6.455486 0 6.303657 0.001805
2.3 0.1553485 6.455486 6.610835 0 6.458125 0.002638
2.4 0.1569958 6.610835 6.767831 0 6.614262 0.003427
2.5 0.1585778 6.767831 6.926408 0 6.772002 0.004171
2.6 0.160096 6.926408 7.086504 0 6.931282 0.004873
2.7 0.1615524 7.086504 7.248057 0 7.092038 0.005534
2.8 0.1629488 7.248057 7.411006 0 7.254211 0.006155
2.9 0.1642872 7.411006 7.575293 0 7.417743 0.006737
3 0.1655696 7.575293 7.740862 0 7.582576 0.007283
3.1 0.1667979 7.740862 7.90766 0 7.748656 0.007793
3.2 0.1679743 7.90766 8.075635 0 7.91593 0.00827
3.3 0.1691008 8.075635 8.244735 0 8.084349 0.008715
3.4 0.1701793 8.244735 8.414915 0 8.253864 0.009129
3.5 0.1712118 8.414915 8.586126 0 8.424429 0.009514
3.6 0.1722003 8.586126 8.758327 0 8.595998 0.009872
3.7 0.1731467 8.758327 8.931474 0 8.76853 0.010204
3.8 0.1740528 8.931474 9.105526 0 8.941984 0.010511
3.9 0.1749204 9.105526 9.280447 0 9.116321 0.010794
4 0.1757512 9.280447 9.456198 0 9.291503 0.011056
4.1 0.1765468 9.456198 9.632745 0 9.467495 0.011297
4.2 0.177309 9.632745 9.810054 0 9.644263 0.011518
4.3 0.1780392 9.810054 9.988093 0 9.821775 0.011721
4.4 0.1787388 9.988093 10.16683 0 10 0.011907
4.5 0.1794095 10.16683 10.34624 0 10.17891 0.012077
4.6 0.1800523 10.34624 10.52629 0 10.35847 0.012231
4.7 0.1806688 10.52629 10.70696 0 10.53866 0.012371
4.8 0.18126 10.70696 10.88822 0 10.71946 0.012497
4.9 0.1818273 10.88822 11.07005 0 10.90083 0.012611
5 0.1823716 11.07005 11.25242 0 11.08276 0.012713
5.1 0.1828942 11.25242 11.43532 0 11.26523 0.012804
5.2 0.1833959 11.43532 11.61871 0 11.4482 0.012884
5.3 0.1838779 11.61871 11.80259 0 11.63167 0.012955
5.4 0.1843409 11.80259 11.98693 0 11.81561 0.013017
5.5 0.1847859 11.98693 12.17172 0 12 0.01307
5.6 0.1852137 12.17172 12.35693 0 12.18483 0.013115
5.7 0.1856251 12.35693 12.54255 0 12.37008 0.013153
5.8 0.1860208 12.54255 12.72858 0 12.55574 0.013184
5.9 0.1864016 12.72858 12.91498 0 12.74178 0.013208
6 0.1867682 12.91498 13.10175 0 12.9282 0.013226
6.1 0.1871211 13.10175 13.28887 0 13.11498 0.013239
6.2 0.1874611 13.28887 13.47633 0 13.30211 0.013246
6.3 0.1877886 13.47633 13.66412 0 13.48958 0.013248
6.4 0.1881043 13.66412 13.85222 0 13.67736 0.013246
6.5 0.1884087 13.85222 14.04063 0 13.86546 0.013239
6.6 0.1887022 14.04063 14.22933 0 14.05386 0.013229
6.7 0.1889853 14.22933 14.41832 0 14.24255 0.013215
6.8 0.1892586 14.41832 14.60758 0 14.43151 0.013197
6.9 0.1895223 14.60758 14.7971 0 14.62075 0.013176
7 0.189777 14.7971 14.98687 0 14.81025 0.013152
7.1 0.190023 14.98687 15.1769 0 15 0.013125
7.2 0.1902607 15.1769 15.36716 0 15.18999 0.013096
7.3 0.1904904 15.36716 15.55765 0 15.38022 0.013065
7.4 0.1907124 15.55765 15.74836 0 15.57068 0.013031
7.5 0.1909272 15.74836 15.93929 0 15.76136 0.012995
7.6 0.1911349 15.93929 16.13042 0 15.95225 0.012957
7.7 0.1913359 16.13042 16.32176 0 16.14334 0.012918
7.8 0.1915304 16.32176 16.51329 0 16.33464 0.012876
7.9 0.1917187 16.51329 16.70501 0 16.52612 0.012834
8 0.1919011 16.70501 16.89691 0 16.7178 0.01279
8.1 0.1920778 16.89691 17.08899 0 16.90965 0.012745
8.2 0.192249 17.08899 17.28124 0 17.10169 0.012698
8.3 0.1924149 17.28124 17.47365 0 17.29389 0.012651
8.4 0.1925757 17.47365 17.66623 0 17.48625 0.012603
8.5 0.1927317 17.66623 17.85896 0 17.67878 0.012553
8.6 0.192883 17.85896 18.05184 0 17.87146 0.012503
8.7 0.1930298 18.05184 18.24487 0 18.06429 0.012453
8.8 0.1931723 18.24487 18.43804 0 18.25727 0.012401
8.9 0.1933105 18.43804 18.63135 0 18.45039 0.012349
9 0.1934448 18.63135 18.8248 0 18.64365 0.012297
9.1 0.1935752 18.8248 19.01837 0 18.83704 0.012244
9.2 0.1937019 19.01837 19.21208 0 19.03056 0.012191
9.3 0.1938249 19.21208 19.4059 0 19.22421 0.012137
9.4 0.1939446 19.4059 19.59985 0 19.41798 0.012083
9.5 0.1940608 19.59985 19.79391 0 19.61187 0.012029
9.6 0.1941739 19.79391 19.98808 0 19.80588 0.011975
9.7 0.1942839 19.98808 20.18236 0 20 0.01192
9.8 0.1943908 20.18236 20.37675 0 20.19423 0.011865
9.9 0.1944949 20.37675 20.57125 0 20.38857 0.01181
10 0.1945962 20.57125 20.76585 0 20.58301 0.011756
10.1 0.1946948 20.76585 20.96054 0 20.77755 0.011701
10.2 0.1947908 20.96054 21.15533 0 20.97219 0.011646
10.3 0.1948843 21.15533 21.35022 0 21.16692 0.011591
10.4 0.1949753 21.35022 21.54519 0 21.36175 0.011536
10.5 0.195064 21.54519 21.74025 0 21.55667 0.011481
10.6 0.1951504 21.74025 21.93541 0 21.75168 0.011427
10.7 0.1952347 21.93541 22.13064 0 21.94678 0.011372
10.8 0.1953168 22.13064 22.32596 0 22.14196 0.011317
10.9 0.1953968 22.32596 22.52135 0 22.33722 0.011263
11 0.1954749 22.52135 22.71683 0 22.53256 0.011209
11.1 0.195551 22.71683 22.91238 0 22.72798 0.011155
11.2 0.1956253 22.91238 23.108 0 22.92348 0.011101
11.3 0.1956978 23.108 23.3037 0 23.11905 0.011048
11.4 0.1957685 23.3037 23.49947 0 23.3147 0.010994
11.5 0.1958376 23.49947 23.69531 0 23.51041 0.010941
11.6 0.195905 23.69531 23.89121 0 23.7062 0.010888
11.7 0.1959708 23.89121 24.08718 0 23.90205 0.010835
11.8 0.196035 24.08718 24.28322 0 24.09797 0.010783
11.9 0.1960978 24.28322 24.47932 0 24.29395 0.010731
12 0.1961591 24.47932 24.67548 0 24.49 0.010679

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