Difference between revisions of "IterationList Command"

From GeoGebra Manual
Jump to: navigation, search
m (1 revision)
m
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>
 
{{command|function}}
 
{{command|function}}
; IterationList[Function, Number x0, Number n]: Gives you a list of length ''n+1'' whose elements are iterations of the function starting with the value ''x0''.
+
; IterationList[ <Function>, <Start Value>, <Number of Iterations n> ]
: Example: After defining <tt>f(x) = x^2</tt> the command <tt>IterationList[f, 3, 2]</tt> gives you the list ''L = {3, 9, 81}''.
+
: Gives you a list of length ''n+1'' whose elements are iterations of the function starting with the start value.
 +
: {{Example| 1=After defining <code>f(x) = x^2</code> the command <code>IterationList[f, 3, 2]</code> gives you the list ''{3, 9, 81}''.}}
 +
{{Note|1=See also [[Iteration_Command]].}}

Revision as of 13:17, 24 July 2015



IterationList[ <Function>, <Start Value>, <Number of Iterations n> ]
Gives you a list of length n+1 whose elements are iterations of the function starting with the start value.
Example: After defining f(x) = x^2 the command IterationList[f, 3, 2] gives you the list {3, 9, 81}.
Note: See also Iteration_Command.
© 2024 International GeoGebra Institute