GeoGebra offers the command
Sequence which produces a list of objects. Thereby, the type of object, the length of the sequence (that’s the number of objects created) and the step width (e.g. distance between the objects) can be set using the following command syntax:
Sequence(, , , , )
For example:
Sequence(Segment((a, 0), (0, a)), a, 1, 10, 0.5)
Determines the type of objects created. The expression needs to contain a variable (e.g.
(a, 0)
with variable
a). Each segment connects a point on the
x-axis with a point on the
y-axis (e.g. points
(1, 0) and
(0, 1); points
(2, 0) and
(0, 2).
Defines the name of the variable used.
Determines the interval for the variable used (e.g. from 1 to 10).
Is optional and determines the step width for the variable used (e.g. 0.5).