Difference between revisions of "IterationList Command"
From GeoGebra Manual
m (1 revision: tt => code) |
m (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 ) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=4. | + | <noinclude>{{Manual Page|version=4.2}}</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, 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| 1=After defining <code>f(x) = x^2</code> the command <code>IterationList[f, 3, 2]</code> gives you the list ''L = {3, 9, 81}''.}} | : {{Example| 1=After defining <code>f(x) = x^2</code> the command <code>IterationList[f, 3, 2]</code> gives you the list ''L = {3, 9, 81}''.}} |
Revision as of 22:14, 9 March 2013
- 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 commandIterationList[f, 3, 2]
gives you the list L = {3, 9, 81}.