0% found this document useful (0 votes)
53 views4 pages

Metodología: Método de Heun

This document describes and provides examples of the Heun's method and Runge-Kutta method for numerically solving differential equations. For Heun's method, it gives the formula and shows the calculations across multiple steps with changing x and y values. For Runge-Kutta, it provides the general formula and an example calculation over several steps showing the changing x, y, and K values.

Uploaded by

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

Metodología: Método de Heun

This document describes and provides examples of the Heun's method and Runge-Kutta method for numerically solving differential equations. For Heun's method, it gives the formula and shows the calculations across multiple steps with changing x and y values. For Runge-Kutta, it provides the general formula and an example calculation over several steps showing the changing x, y, and K values.

Uploaded by

hanz_barreto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Metodología:

Método de Heun
(𝒇(𝒙,𝒚)+𝒇(𝒙𝒊+𝟏 ,𝒚𝒆𝒊+𝟏 )) 𝒅𝒚 𝟏+𝒚𝟐
𝒀𝑯
𝒊+𝟏 = 𝒚𝒊 + 𝑯 ∗ =
𝟐 𝒅𝒙 (𝒙𝒚∗(𝟏+𝒙𝟐 ))

2
(1 + 22 ) 𝐻 (1 + 𝑦 2 ) (1 + 𝑦𝑖𝑒 )
xi yi 𝑌𝑖𝑒 = 𝑦𝑖 + 0,1 ∗ 𝐻
𝑌𝑖+1 = 𝑦𝑖 + ∗( + )
1 ∗ 2(1 + 12 ) 2 𝑥𝑖 ∗ 𝑦𝑖(1 + 𝑥𝑖 2 ) 𝑥𝑖 ∗ 𝑦𝑖𝑒 (1 + 𝑥𝑖+1
2
)

1 2 2.125 2.115885196
1.1 2.1158852 2.222364037 2.218907316
1.2 2.21890732 2.310081483 2.306981491
1.3 2.30698149 2.385347186 2.3826063
1.4 2.3826063 2.450229726 2.447828505
1.5 2.4478285 2.506420379 2.504328522
1.6 2.50432852 2.555305297 2.553488567
1.7 2.55348857 2.59802372 2.596447956
1.8 2.59644796 2.635514905 2.634148142
1.9 2.63414814 2.668555923 2.66736935
2 2.66736935 2.697792056 2.759292342
Método de Runge-Kutta
(𝒇(𝒙,𝒚)+𝒇(𝒙𝒊+𝟏 ,𝒚𝒆𝒊+𝟏 )) 𝒅𝒚 𝟏+𝒚𝟐
𝒀𝑯
𝒊+𝟏 = 𝒚𝒊 + 𝑯 ∗ =
𝟐 𝒅𝒙 (𝒙𝒚∗(𝟏+𝒙𝟐 ))
ℎ 𝐾1 𝐾1 𝐾2 𝑥𝑖 + ℎ
xi yi h=
𝐾1 = ℎ ∗ 𝑓(𝑥𝑖 , 𝑦𝑖 ) 𝑥𝑖 + 𝑦𝑖 + 𝐾2 𝑦𝑖 + + 𝐾3 𝑦0 − 𝐾2 + 2𝐾3 𝐾4 𝑦1𝑅−𝐾
2 2 4 4

1 2 0.1 0.125 1.05 2.0625 0.11538864 2.06009716 0.11530541 1.1 2.115222188 0.10645766 2.1154743

1.1 2.1154743 0.1 0.106465715 1.15 2.16870715 0.09846254 2.166706359 0.09840357 1.2 2.410743977 0.09650115 2.21492414

1.2 2.21492414 0.1 0.091065809 1.25 2.26045705 0.08438152 2.258785975 0.08433956 1.3 2.467984789 0.0821611 2.30003565

1.3 2.30003565 0.1 0.078204505 1.35 2.33913791 0.07260823 2.337738839 0.07257823 1.4 2.517800339 0.070342 2.37318889

1.4 2.37318889 0.1 0.067436362 1.45 2.40690707 0.06273868 2.405732652 0.06271708 1.5 2.561361742 0.06054931 2.43633843

1.5 2.43633843 0.1 0.058395701 1.55 2.46553628 0.05444057 2.464547494 0.05442491 1.6 2.599628806 0.05239289 2.49109168

1.6 2.49109168 0.1 0.050781638 1.65 2.5164825 0.04744063 2.515647249 0.04742918 1.7 2.633390661 0.04556373 2.53877251

1.7 2.53877251 0.1 0.044346948 1.75 2.56094598 0.04151457 2.560237891 0.04150613 1.8 2.663299349 0.03981621 2.58047327

1.8 2.58047327 0.1 0.038888877 1.85 2.59991771 0.03647864 2.599315152 0.03647236 1.9 2.689896634 0.03495443 2.61709749

1.9 2.61709749 0.1 0.034241354 1.95 2.63421817 0.03218236 2.633703417 0.03217765 2 2.71363515 0.03082145 2.64939463

2 2.64939463 0.1 0.030268393 2.05 2.66452882 0.02850252 2.664087355 0.02849897 2.1 2.734895082 0.02729108 2.67798837
ANÁLISIS DE LOS VIDEOS EN MENCIÓN

You might also like