Difference between revisions of "IterationList Command"
From GeoGebra Manual
m (revert some text to pdf version) |
m (revert some text to pdf version) |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
+ | {{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, Number x0, Number n]: Gives you a list of length ''n+1'' whose elements are iterations of the function starting with the value ''x0''. | ||
: 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}''. | : 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}''. |
Revision as of 10:20, 3 November 2010
- 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.
- Example: After defining f(x) = x^2 the command IterationList[f, 3, 2] gives you the list L = {3, 9, 81}.