Iteration Command

From GeoGebra Manual
Revision as of 22:14, 9 March 2013 by Zbynek (talk | contribs) (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Jump to: navigation, search



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 command Iteration[f, 3, 2] gives you the result (32)2=81;

Another example of the use of this command is the repeated addition of 7 to the number 3:
Let g(x) = x+7. The command Iteration[g, 3, 4] yields the result (((3+7) +7) +7) +7 = 31.
© 2024 International GeoGebra Institute