Iteration Command

From GeoGebra Manual
Revision as of 13:34, 5 August 2015 by Markus.winkler (talk | contribs)
Jump to: navigation, search


Iteration[ <Function>, <Start Value>, <Number of Iterations> ]
Iterates the function n times using the given start value.
Example:
After defining f(x) = x^2 the command Iteration[f, 3, 2] gives you the result (32)2 = 81.
Example: repeated addition
To obtain the repeated addition of 7 to the number 3:
Let g(x) = x + 7, then Iteration[g, 3, 4] yields (((3+7) +7) +7) +7 = 31.
© 2024 International GeoGebra Institute