Skip to content

Commit 2573dac

Browse files
committed
deploy: ed157cb
1 parent 21a60b8 commit 2573dac

5 files changed

Lines changed: 16 additions & 18 deletions

File tree

.doctrees/3_numerical.doctree

-109 Bytes
Binary file not shown.

.doctrees/environment.pickle

0 Bytes
Binary file not shown.

3_numerical.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,26 +116,25 @@
116116
<p>This method incurs a global error of order <span class="math notranslate nohighlight">\(O(\Delta t)\)</span> and requires only one velocity evaluation per step, therefore has high computational speed.</p>
117117
<p><strong>Runge-Kutta Method</strong></p>
118118
<p>Proposed by Carl Runge and Martin Kutta around 1900, Runge-Kutta methods constitute a widely used family of algorithms for the numerical integration of ODEs.</p>
119-
<p>In an explicit <span class="math notranslate nohighlight">\(s\)</span>-stage Runge-Kutta scheme for this initial-value problem, the solution is advanced over a time step <span class="math notranslate nohighlight">\(h\)</span> as follows:</p>
120-
<p>First, compute the intermediate stage vectors:</p>
119+
<p>In an explicit <span class="math notranslate nohighlight">\(s\)</span>-stage Runge-Kutta scheme for this initial-value problem, the solution is advanced over a time step <span class="math notranslate nohighlight">\(\Delta t\)</span> as follows.
120+
First, compute the intermediate stage vectors:</p>
121121
<div class="math notranslate nohighlight">
122122
\[\mathbf{k}i
123123
;=;
124124
\mathbf{u}!\Bigl(
125125
\mathbf{x}n
126126
;+;
127-
h \sum{j=1}^{i-1} a{ij},\mathbf{k}_j,
128-
; t_n + c_i h
127+
\Delta t \sum_{j=1}^{i-1} a_{ij},\mathbf{k}_j,
128+
; t_n + c_i \Delta t
129129
\Bigr),
130130
\qquad i = 1, 2, \dots, s,\]</div>
131131
<p>and then update the solution:</p>
132132
<div class="math notranslate nohighlight">
133-
\[\]</div>
134-
<p>mathbf{x}_{n+1}
133+
\[\mathbf{x}_{n+1}
135134
;=;
136-
mathbf{x}n
135+
\mathbf{x}n
137136
;+;
138-
h sum{i=1}^{s} b_i,mathbf{k}_i.</p>
137+
\Delta t \sum{i=1}^{s} b_i,\mathbf{k}_i.\]</div>
139138
<p>Here, the boldface stage variables <span class="math notranslate nohighlight">\(\mathbf{k}_i\)</span> represent intermediate slope estimates.</p>
140139
<p><strong>Second-Order Runge-Kutta (RK2, Heun’s)</strong></p>
141140
<p>Heun’s <code class="docutils literal notranslate"><span class="pre">RK2</span></code> method attains second-order accuracy by combining predictor and corrector slopes:</p>

_sources/3_numerical.rst.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ This method incurs a global error of order :math:`O(\Delta t)` and requires only
4545

4646
Proposed by Carl Runge and Martin Kutta around 1900, Runge-Kutta methods constitute a widely used family of algorithms for the numerical integration of ODEs.
4747

48-
In an explicit :math:`s`-stage Runge-Kutta scheme for this initial-value problem, the solution is advanced over a time step :math:`h` as follows:
49-
48+
In an explicit :math:`s`-stage Runge-Kutta scheme for this initial-value problem, the solution is advanced over a time step :math:`\Delta t` as follows.
5049
First, compute the intermediate stage vectors:
5150

5251
.. math::
@@ -56,20 +55,20 @@ First, compute the intermediate stage vectors:
5655
\mathbf{u}!\Bigl(
5756
\mathbf{x}n
5857
;+;
59-
h \sum{j=1}^{i-1} a{ij},\mathbf{k}_j,
60-
; t_n + c_i h
58+
\Delta t \sum_{j=1}^{i-1} a_{ij},\mathbf{k}_j,
59+
; t_n + c_i \Delta t
6160
\Bigr),
6261
\qquad i = 1, 2, \dots, s,
6362
6463
and then update the solution:
6564

6665
.. math::
6766
68-
\mathbf{x}_{n+1}
69-
;=;
70-
\mathbf{x}n
71-
;+;
72-
h \sum{i=1}^{s} b_i,\mathbf{k}_i.
67+
\mathbf{x}_{n+1}
68+
;=;
69+
\mathbf{x}n
70+
;+;
71+
\Delta t \sum{i=1}^{s} b_i,\mathbf{k}_i.
7372
7473
Here, the boldface stage variables :math:`\mathbf{k}_i` represent intermediate slope estimates.
7574

0 commit comments

Comments
 (0)