Skip to content

Commit

Permalink
fixed formulas
Browse files Browse the repository at this point in the history
  • Loading branch information
RickGelhausen committed Oct 17, 2023
1 parent 13aff6e commit 56f19e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
- name: create environment with mamba
uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
channels: conda-forge,defaults
auto-activate-base: false
activate-environment: rmarkdown-env
Expand Down
7 changes: 5 additions & 2 deletions exercise-sheet-0.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ title: "Exercise sheet 0: Math"
Given the recursive Formulation, fill in the array underneath:

$$
a_n = a_{n-1} + d\ \forall \ 2\leq n < x
\begin{align*}
a_{n+1} &= a_{n} + d, \quad \forall n : 2 \leqslant n < x, \\
a_{n+1} &= 0, \quad \text{else}
\end{align*}
$$

```{r, echo=FALSE}
Expand Down Expand Up @@ -47,7 +50,7 @@ column index


$$
D_{i, j} = max (D_{i-1. j-1} + 2, D_{i-1, j} + 3, D_{i, j-1} + 1)\ \forall i\ge j > 1
D_{i, j} = max (D_{i-1. j-1} + 2, D_{i-1, j} + 3, D_{i, j-1} + 1)\ \forall i, j : i \ge j > 1
$$
```{r, echo=FALSE}
htmltools::includeHTML("html/matrixMax.html")
Expand Down

0 comments on commit 56f19e2

Please sign in to comment.