Fraction Game on Number Line

Fraction Game on Number Line
Loading the math board and drawing, please wait…
2022-01-16 20:37
This example demonstrates the positioning of fractions on a number line through an interactive game. Core math concepts include fractions, number line representation, and fraction comparison. It utilizes GeoGebra commands like Corner, Point, LaTeX, Polygon, Sequence, Midpoint, Segment, Vector, Random, If, Mod, along with objects such as animPomak, A, I, jedn1, tekst1, B, slika1, C, q1, f, g, h, i, D, slika2, E, q2, d, e, j, k, cjelobrojneTočke, F, slika3, G, H, J, K, slika4, L, M, l, gumb1, brz, gumb2, u, tekst2, nazivnik, brojnik, tekst3. Suitable for upper elementary or middle school students learning fractions and number lines in an engaging way.

GeoGebra Commands & Parameters

  1. Corner(5) → A
  2. Point(Segment[(0, 0), (3, 0)]) → I
  3. LaTeX(A, true, true) → tekst1
  4. Polygon(B + (-0.2, -0.2), C + (0.2, -0.2), C + (0.2, 2.5), B + (-0.2, 2.5)) → q1, f, g, h, i
  5. Polygon(D, E, E + (0, 2), D + (0, 2)) → q2, d, e, j, k
  6. Sequence(Segment[(j, 0) + (0, 0.1), (j, 0) + (0, -0.05)], j, 0, 3, 1) → cjelobrojneTočke, {0.15000000000000002, 0.15000000000000002, 0.15000000000000002, 0.15000000000000002}
  7. Midpoint(Segment[J, K]) → L
  8. Segment(H, M) → l
  9. Vector((-1, 0), (3.5, 0)) → u
  10. Random(2, 6) → nazivnik
  11. Random(0, (3 * nazivnik)) → brojnik
  12. Sequence((j, 0), j, 0, 3, 1) → pomoćni, {(0, 0), (1, 0), (2, 0), (3, 0)}
  13. Sequence(Text[x(Element[pomoćni, j]), Element[pomoćni, j] + (-0.04, -0.25)], j, 1, Length[pomoćni], 1) → cijeliBr, {"0", "1", "2", "3"}
  14. Sequence(If[Mod[(j * n), n] ≠ 0, (j, 0)], j, 0, 3, 1 / n) → podjela, {(NaN, NaN), (NaN, NaN), (NaN, NaN), (NaN, NaN)}
  15. Random(1, Length[igračke]) → indeksIgr
  16. Polygon(Q, R, S, T, U) → mnogokut1, q, r, s, t, u_1
  17. Polygon(V, W, Z, A_1, B_1) → mnogokut2, v_1, w, z_1, a_1, b_1
  18. If(abs(x(I) - x(N)) ≤ 0.04, true, false) → postavljenoTočno
  19. Vector(N + (0, -0.6), N + (0, -0.07)) → v
  20. Mod(animPomak, 1) → ostatak

AI Drawing Prompt Reference

Draw a number line from 0 to 3. Mark the integers 0, 1, 2, and 3 on the line. Randomly select a fraction with a denominator between 2 and 6, and mark its position on the line. Draw two polygons, one on the left of the fraction and one on the right. Randomly select a point on the line, and if it is close to the fraction, mark it as correct.
The prompt above was compiled from the original drawing commands and is for reference only.