Difference between revisions of "Iteration Command"
From GeoGebra Manual
(added v4 - example formatting) |
(added v4 - example formatting) |
||
Line 2: | Line 2: | ||
{{command|function}} | {{command|function}} | ||
; Iteration[Function, Number x0, Number n]: Iterates the function ''n'' times using the given start value ''x0''. | ; Iteration[Function, Number x0, Number n]: Iterates the function ''n'' times using the given start value ''x0''. | ||
− | : {{Example| 1=After defining < | + | : {{Example| 1=After defining <code>f(x) = x^2</code> the command <code>Iteration[f, 3, 2]</code> gives you the result ''(3<sup>2</sup>)<sup>2</sup> = 81''.}} |
Revision as of 18:15, 23 February 2011
- Iteration[Function, Number x0, Number n]
- Iterates the function n times using the given start value x0.
- Example: After defining
f(x) = x^2
the commandIteration[f, 3, 2]
gives you the result (32)2 = 81.