Skip to content

Commit

Permalink
Missing + in denominator of stability condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jussienko committed Apr 30, 2020
1 parent eac3842 commit 8a33afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/mooc/python-and-performance/heat-equation.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $$
Note: the algorithm is stable only when

$$
\Delta t < \frac{1}{2 \alpha} \frac{(\Delta x \Delta y)^2}{(\Delta x)^2 (\Delta y)^2}
\Delta t < \frac{1}{2 \alpha} \frac{(\Delta x \Delta y)^2}{(\Delta x)^2 + (\Delta y)^2}
$$

The image below shows a result of numerical simulation where the initial state
Expand Down

0 comments on commit 8a33afb

Please sign in to comment.