Skip to content

Commit c6b280f

Browse files
committed
Some fixes to Boundary value problems
1 parent 7713e13 commit c6b280f

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/10_Boundary_value_problems.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ end
360360
# ╔═╡ e2ed03ad-f720-4e29-afdc-1c1c6bc233c0
361361
md"""
362362
!!! warning "Example: Using differentiation matrices"
363-
In this example we want to test the first-order and second-order differentiation matrices $D_x$ and $D_{xx}$. We consider the following function
363+
In this example we want to test the differentiation matrices $D_x$ and $D_{xx}$ for first and second derivatives. We consider the following function
364364
```math
365365
f_\text{exp} = x + e^{\sin(4x)}
366366
```
@@ -416,7 +416,7 @@ end
416416

417417
# ╔═╡ 78cf3006-47c8-48c2-be3a-2a518ff4731d
418418
md"""
419-
Since we took a second-order finite difference formula, we would expect a second-order convergence. Plotting the maximal error of the approximated derivative values `dx_fexp_t` respectively `dx2_fexp_t`, that is
419+
Since we took second-order finite difference formulas in $\mathbf{D}_x$ and $\mathbf{D}_{xx}$, we would expect a second-order convergence. Plotting the maximal error of the approximated derivative values `dx_fexp_t` respectively `dx2_fexp_t`, that is
420420
```julia
421421
maximum(abs.(dx_fexp.(t) - dx_fexp_t))
422422
```
@@ -1010,7 +1010,7 @@ u(a) = γ_a, \quad u(b) &= γ_b,
10101010
\end{aligned}
10111011
\right.
10121012
```
1013-
where the function $u : [a, b] \to \mathbb{R}$ is the principle unknown. Our approach relied on discretising this problem and employing finite-fifference differentiation matrices instead of exact derivatives.
1013+
where the function $u : [a, b] \to \mathbb{R}$ is the principle unknown. Our approach relied on discretising this problem and employing finite-difference differentiation matrices instead of exact derivatives.
10141014
10151015
This worked, but the maximal total accuracy was limited due to the increasing condition number of the system matrix $\mathbf{A}$ as we increase the number of subintervals $N$. As a resut it was **impossible to obtain the solution to arbitrary accuracy**.
10161016
"""
@@ -1433,7 +1433,8 @@ end
14331433

14341434
# ╔═╡ 83fdd745-33e1-4e77-80a2-9008b0eb59b8
14351435
md"""
1436-
### Optional: Finite elements
1436+
### Finite elements
1437+
*(We will only discuss this on a high level in this class. You can expect that there will not be any detailed questions on this topic.)*
14371438
14381439
A widely employed set of basis functions for Galerkin approximations
14391440
are the hat functions $φ_i = H_i$,

0 commit comments

Comments
 (0)