Definition: Element is a GeoGebra LIST command.
Element[ <List>, <Position of Element> ]

Element - USE
Element[ <List>, <Position of Element> ] yields the nth element of the list.          
Note: The list can contain only elements of one object type (e. g., only numbers or only points).

Examples: Suppose list1={(0,1),(1,3),(2,5),(3,6)}.

  • Element[list1,1] yields the point object (1,3).
  • x(Element[list1,3]) yields the number 2  - see Xcoor.
  • If a is a slider then Element[list1,a] yields:  
    • The point object (1,3) for 1.5 ≤ a < 2.5  (that is, it rounds a)
    • Undefined for a<0.5 or a≥4.5 (that is, there is no such element, so it is undefined).

Click and drag the slider a to see how A=Element[list1,a] changes.

This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

Related topics:


 Up one level


Page last modified on December 06, 2009, at 11:47 AM