Fractions on a Number Line by EDC Interactive Math
Loading the math board and drawing, please wait…
This example demonstrates locating or identifying fractions on a number line from 0 to 2. Using four blue and one red pointers, you can adjust the precision of the pointers. Commands such as If, Min, Segment, Point, Sequence, and Vector are used for construction. Suitable for high-grade elementary or junior high school students to learn about fractions and number lines.
GeoGebra Commands & Parameters
If(max < 10, " " + max, "" + max) → formatdMin(2 / max, 1) → a2Min(1 / max, 1) → a1Min(3 / max, 1) → a3Min(4 / max, 1) → a4Min(5 / max, 1) → a5Min(6 / max, 1) → a6Min(7 / max, 1) → a7Min(8 / max, 1) → a8Min(9 / max, 1) → a9Min(10 / max, 1) → a10Segment(C, D) → title_{seg}Point(Circle[M, 1]) → QPoint(Circle[N, 1]) → RSegment(D2l, D2r) → d_2Sequence((Min[i / intervals, 1], 0), i, 1, 19) → PtSequence(Segment[(Min[i / intervals, 1], 0), (Min[i / intervals, 1], 1)], i, 0, 20) → hash_1Sequence(Segment[(i, 0), (i, 1)], i, 0, 1, 1) → hashendVector(V1, V1 + (0, -1.5)) → V1vVector(V2, V2 + (0, -1.5)) → V2vVector(V3, V3 + (0, -1.5)) → V3vVector(V4, V4 + (0, -1.5)) → V4vVector(V7, V7 + (0, -2.5)) → V7vIf(max ≟ 1, x(V1), (2 * x(V1))) → V1valIf(max - min > 50, round(min + (x(V3) * (max - min))), min + (x(V3) * (max - min))) → V3valIf(max - min > 50, round(min + (x(V2) * (max - min))), min + (x(V2) * (max - min))) → V2valIf(max - min > 50, round(min + (x(V4) * (max - min))), min + (x(V4) * (max - min))) → V4valIf(max - min > 50, round(min + (x(V7) * (max - min))), min + (x(V7) * (max - min))) → V7valIf(dec ≟ true, 1, 0) → DecValuePoint(d_2) → SVector(S, V) → uPoint(d_2) → WVector(W, Z) → v
AI Drawing Prompt Reference
Draw a number line from 0 to 2 and mark the positions of 1/2, 1/4, 3/4, 1, 5/4, 6/4, 7/4, 8/4, and 9/4. Use four blue pointers and one red pointer to indicate these fraction points, and adjust the precision of the pointers.
The prompt above was compiled from the original drawing commands and is for reference only.