Difference between revisions of "RootList Command"

From GeoGebra Manual
Jump to: navigation, search
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 )
(command syntax: changed [ ] into ( ))
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}}
{{command|function}}
+
;RootList( &lt;List> )
;RootList[ <List> ]
+
:Converts 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)}, which is also displayed in the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]].
:Converts 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>Command <code><nowiki>RootList({3, 4, 5, 2, 1, 3})</nowiki></code> returns the list of points ''list1={(3,0), (4,0), (5,0), (2,0), (1,0), (3,0)}''</div>}}
 
 
{{example| 1=<div> </div><div>Command <code><nowiki>RootList[{3, 4, 5, 2, 1, 3}]</nowiki></code> returns the list of points <code>list1={(3,0), (4,0), (5,0), (2,0), (1,0), (3,0)}</code></div>}}
 

Latest revision as of 09:46, 9 October 2017


RootList( <List> )
Converts a given list of numbers {a1,a2,...,an} to a list of points {(a1,0),(a2,0),...,(an,0)}, which is also displayed in the Menu view graphics.svg Graphics View.
Example:
Command RootList({3, 4, 5, 2, 1, 3}) returns the list of points list1={(3,0), (4,0), (5,0), (2,0), (1,0), (3,0)}
© 2024 International GeoGebra Institute