Iteration Command

From GeoGebra Manual
Jump to: navigation, search


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


Iteration[ <Expression>, <Variable Name>, ..., <Start Values>, <Number of Iterations> ]
Iterates the expression n times (n = number of iterations) using the given start value. The result is then the last element of the output of IterationList Command, with the same parameters.
Note: See IterationList Command for further details.
  • GeoGebra
  • Help
  • Partners
  • Contact us
    • Feedback & Questions
    • This email address is being protected from spambots. You need JavaScript enabled to view it.
    • +43 677 6137 2693
© 2017 International GeoGebra Institute