Plot Integers on a Number Line
Loading the math board and drawing, please wait…
This example demonstrates how to plot integers on a number line. Key mathematical concepts include integers and their representation on a number line. GeoGebra commands such as Random, Segment, Sequence, and Join are used in construction. Suitable for middle school and above students to learn about number lines and integers.
GeoGebra Commands & Parameters
Random(1, 9) → Int2Random(-9, 9) → Int3Segment(StartPoint, EndPoint) → MainSegmentRandom(-9, -1) → Int1Sequence(Segment[(i / 10, 2.2), (i / 10, 7)], i, -110, 110, 1) → CustomGridSegmentsSequence((i, 0.5), i, -10, 10, 1) → CustomGridPointsJoin({CustomGridPoints, CustomGridSegments}) → CustomFullGridPoint(CustomFullGrid) → Point1Point(CustomFullGrid) → Point2Point(CustomFullGrid) → Point3Shuffle(PointsList) → PointsListShuffledLaTeX(Text["\checkmark"]) → RightCheckLaTeX(Text["×"]) → WrongCheckSequence((i, 0), i, x(StartPoint) + 2, x(EndPoint) - 2, 2) → TickMarksSequenceSequence(Text[i, (i - 0.2, -1.2)], i, -10, 10, 2) → DisplayTickMarksSequenceIf(Int1 ≥ 0, LaTeX[Text["\,\,\," + Int1]], LaTeX[Text[Int1]]) → IntDisplay1If(Int2 ≥ 0, LaTeX[Text["\,\,\, " + Int2]], LaTeX[Text[Int2]]) → IntDisplay2If(Int3 ≥ 0, LaTeX[Text["\,\,\," + Int3]], LaTeX[Text[Int3]]) → IntDisplay3Text(IntDisplay1, AdjustedPoint1, true, true) → IntDisplay1centeredText(IntDisplay2, AdjustedPoint2, true, true) → IntDisplay2centeredText(IntDisplay3, AdjustedPoint3, true, true) → IntDisplay3centered