Skip to content

Commit

Permalink
Update IteratieLijst.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ccambre authored Jan 23, 2025
1 parent d0ee53f commit 268982b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nl/modules/ROOT/pages/commands/IteratieLijst.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ IteratieLijst( <Uitdrukking>, <Variabelen>, ..., <Startwaarden>, <Aantal iterati
[EXAMPLE]
====
_f__0 en _f__1 zijn getallen. `++IteratieLijst(a + b, a, b, {f_0, f_1},5)++` gebruikt de eerste 2 waarden uit de lijst
met startwaarden. Daarna worden de waarden berekend als __f__~2~ = __f__~0~ + __f__~1~,   __f__~3~ = __f__~1~ +
__f__~2~,   __f__~4~ = __f__~2~ + __f__~3~,   __f__~5~ = __f__~3~ + __f__~4~. Dus voor _f__0 = _f__1 = 1 wordt het
resultaat \{1, 1, 2, 3, 5, 8}.
__f__0 en __f__1 zijn getallen. `++IteratieLijst(a + b, a, b, {f_0, f_1},5)++` gebruikt de eerste 2 waarden uit de lijst
met startwaarden. Daarna worden de waarden berekend als
__f__~2~ = __f__~0~ + __f__~1~,   __f__~3~ = __f__~1~ + __f__~2~,   __f__~4~ = __f__~2~ + __f__~3~,   __f__~5~ = __f__~3~ + __f__~4~.
Dus voor f__0 = f__1 = 1 wordt het resultaat {1, 1, 2, 3, 5, 8}.
====

Expand All @@ -34,8 +34,8 @@ resultaat \{1, 1, 2, 3, 5, 8}.
_A_ en _B_ zijn punten. Het commando `++IteratieLijst(Middelpunt(A, C), C, {B}, 3)++` berekent waarden voor __C__~0~ =
_B_,   __C__~1~ = _Middelpunt_(_A_, __C__~0~),   __C__~2~ = _Middelpunt_(_A_, __C__~1~),   __C__~3~ = _Middelpunt_(_A_,
__C__~2~) en geeft \{__C__~0~, __C__~1~, __C__~2~, __C__~3~}. Dus voor _A_ = (0,0) en _B_ = (8,0) wordt het resultaat
\{(8,0), (4,0), (2,0), (1,0)}.
__C__~2~) en geeft {__C__~0~, __C__~1~, __C__~2~, __C__~3~}. Dus voor _A_ = (0,0) en _B_ = (8,0) wordt het resultaat
{(8,0), (4,0), (2,0), (1,0)}.
====

Expand Down

0 comments on commit 268982b

Please sign in to comment.