Difference between revisions of "RootList Command"
From GeoGebra Manual
Line 2: | Line 2: | ||
{{command|function}} | {{command|function}} | ||
;RootList[ <List> ] | ;RootList[ <List> ] | ||
− | : | + | :Returns a given list of numbers {a<sub>1</sub>,a<sub>2</sub>,...,a<sub>n</sub>} to a list of points {(a<sub>1</sub>,0),(a<sub>2</sub>,0),...,(a<sub>n</sub>,0)}. |
+ | |||
+ | {{example| 1=<div>Returns the list </div><div><code><nowiki>list1={3,4,5,2,1,3}</nowiki></code> to a list of points <code>list1={(3,0),(4,0),(5,0),(2,0),(1,0),(3,0)}</code></div>}} |
Revision as of 11:53, 14 December 2012
- RootList[ <List> ]
- Returns a given list of numbers {a1,a2,...,an} to a list of points {(a1,0),(a2,0),...,(an,0)}.
Example:
Returns the list
list1={3,4,5,2,1,3}
to a list of points list1={(3,0),(4,0),(5,0),(2,0),(1,0),(3,0)}