Iteration Command
From GeoGebra Manual
- Iteration[ <Function>, <Number x0>, <Number n> ]
- Iterates the function n times using the given start value x0.
- Examples:
- After defining
f(x) = x^2
the commandIteration[f, 3, 2]
gives you the result (32)2=81 - To obtain the repeated addition of 7 to the number 3: if g(x) = x+7 then
Iteration[g, 3, 4]
yields (((3+7) +7) +7) +7 = 31.
- After defining