0% found this document useful (0 votes)
6 views

Libro 1

1. The document describes numerically solving an ordinary differential equation using the Euler method with varying step sizes (h) of 0.2 and 0.02. 2. Tables of results are shown for y_n and f(x_{n-1},y_{n-1}) over increasing values of n (the number of steps) and t_n. 3. The document compares the numerical solutions with varying h to the analytical solution.
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Libro 1

1. The document describes numerically solving an ordinary differential equation using the Euler method with varying step sizes (h) of 0.2 and 0.02. 2. Tables of results are shown for y_n and f(x_{n-1},y_{n-1}) over increasing values of n (the number of steps) and t_n. 3. The document compares the numerical solutions with varying h to the analytical solution.
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 7

1.

      Resuelva la siguiente ecuación diferencial ordinaria

y
a 0 -2
𝑥_𝑛=𝑎+𝑛𝛽𝑥 b 2 -1.01815184
h 0.2
n 10
𝛽𝑥=(𝑏−𝑎)/𝑛

𝑦_𝑛=𝑦_(𝑛−1)+(𝛽𝑥)𝑓(𝑥_(𝑛−1),𝑦_(𝑛−1))

Con h=0.02 da una mejor aproximacion Analitica=

h=0.2
0
0 0.5 1 1.5 2 2.5 0
0 0.5

-0.5
-0.5

-1
-1

-1.5
-1.5

-2
-2

-2.5
-2.5
n tn yn ft-1,y-1 n=100 n tn
0 0 -2 1 h 0 0
1 0.2 -1.8 0.96 0.02 1 0.02
2 0.4 -1.608 0.846336 2 0.04
3 0.6 -1.4387328 0.68497913 3 0.06
4 0.8 -1.30173697 0.51242875 4 0.08
5 1 -1.19925122 0.3588014 5 0.1
6 1.2 -1.12749094 0.23872795 6 0.12
7 1.4 -1.07974536 0.15313139 7 0.14
8 1.6 -1.04911908 0.09582547 8 0.16
9 1.8 -1.02995398 0.05901073 9 0.18
10 2 -1.01815184 10 0.2
11 0.22
12 0.24
-1.03597242 13 0.26
14 0.28
15 0.3
h=0.02 16 0.32
17 0.34
0
0 0.5 1 1.5 2 2.5 18 0.36
19 0.38
-0.5 20 0.4
21 0.42
-1 22 0.44
23 0.46
24 0.48
-1.5
25 0.5
26 0.52
-2 27 0.54
28 0.56
-2.5 29 0.58
30 0.6
31 0.62
32 0.64
33 0.66
34 0.68
35 0.7
36 0.72
37 0.74
38 0.76
39 0.78
40 0.8
41 0.82
42 0.84
43 0.86
44 0.88
45 0.9
46 0.92
47 0.94
48 0.96
49 0.98
50 1
51 1.02
52 1.04
53 1.06
54 1.08
55 1.1
56 1.12
57 1.14
58 1.16
59 1.18
60 1.2
61 1.22
62 1.24
63 1.26
64 1.28
65 1.3
66 1.32
67 1.34
68 1.36
69 1.38
70 1.4
71 1.42
72 1.44
73 1.46
74 1.48
75 1.5
76 1.52
77 1.54
78 1.56
79 1.58
80 1.6
81 1.62
82 1.64
83 1.66
84 1.68
85 1.7
86 1.72
87 1.74
88 1.76
89 1.78
90 1.8
91 1.82
92 1.84
93 1.86
94 1.88
95 1.9
96 1.92
97 1.94
98 1.96
99 1.98
100 2
yn ft-1,y-1
-2 1
-1.98 0.9996
-1.960008 0.99840064
-1.94003999 0.9964048
-1.92011189 0.99361789
-1.90023953 0.99004785
-1.88043858 0.98570507
-1.86072448 0.98060233
-1.84111243 0.97475474
-1.82161733 0.96817962
-1.80225374 0.96089642
-1.78303581 0.95292654
-1.76397728 0.94429328
-1.74509142 0.93502161
-1.72639098 0.92513811
-1.70788822 0.91467071
-1.68959481 0.90364862
-1.67152184 0.8921021
-1.65367979 0.88006231
-1.63607855 0.86756118
-1.61872732 0.85463115
-1.6016347 0.84130509
-1.5848086 0.8276161
-1.56825628 0.81359736
-1.55198433 0.79928196
-1.53599869 0.78470279
-1.52030464 0.76989236
-1.50490679 0.75488271
-1.48980913 0.73970528
-1.47501503 0.72439078
-1.46052721 0.70896911
-1.44634783 0.69346928
-1.43247844 0.67791928
-1.41892006 0.6623461
-1.40567314 0.64677558
-1.39273763 0.63123241
-1.38011298 0.61574008
-1.36779818 0.60032085
-1.35579176 0.58499574
-1.34409184 0.56978449
-1.33269615 0.55470558
-1.32160204 0.53977621
-1.31080652 0.52501234
-1.30030627 0.51042869
-1.2900977 0.49603872
-1.28017692 0.48185474
-1.27053983 0.46788786
-1.26118207 0.45414807
-1.25209911 0.44064426
-1.24328622 0.42738426
-1.23473854 0.4143749
-1.22645104 0.40162201
-1.2184186 0.38913052
-1.21063599 0.37690446
-1.2030979 0.36494705
-1.19579896 0.35326069
-1.18873375 0.34184707
-1.18189681 0.33070716
-1.17528266 0.31984131
-1.16888584 0.30924925
-1.16270085 0.29893014
-1.15672225 0.28888263
-1.1509446 0.27910492
-1.1453625 0.26959474
-1.1399706 0.26034944
-1.13476361 0.251366
-1.12973629 0.24264108
-1.12488347 0.23417106
-1.12020005 0.22595205
-1.11568101 0.21797992
-1.11132141 0.21025037
-1.1071164 0.20275888
-1.10306123 0.19550084
-1.09915121 0.18847146
-1.09538178 0.18166588
-1.09174846 0.17507915
-1.08824688 0.16870625
-1.08487276 0.16254213
-1.08162191 0.15658169
-1.07849028 0.15081983
-1.07547388 0.14525146
-1.07256885 0.13987147
-1.06977142 0.1346748
-1.06707793 0.12965641
-1.0644848 0.12481131
-1.06198857 0.12013456
-1.05958588 0.11562129
-1.05727346 0.11126666
-1.05504812 0.10706595
-1.0529068 0.10301448
-1.05084651 0.09910766
-1.04886436 0.095341
-1.04695754 0.09171007
-1.04512334 0.08821056
-1.04335913 0.08483824
-1.04166236 0.08158898
-1.04003058 0.07845872
-1.03846141 0.07544354
-1.03695254 0.07253959
-1.03550175 0.06974312
-1.03410689 0.06705049

You might also like