Drag Rational Numbers to Correct Positions

Drag Rational Numbers to Correct Positions
Loading the math board and drawing, please wait…
2018-12-23 20:07
This example demonstrates sorting rational numbers on a number line by dragging them into the correct positions. It involves core math concepts like rational numbers, median value, centroid or barycenter, piecewise functions, multiplication, and polynomial functions. Constructed using GeoGebra commands such as Polygon, Segment, Sort, If, RandomElement, and objects like b, Cdenom1, A, etc. Suitable for middle school and above, helping students understand rational number ordering and number line representation.

GeoGebra Commands & Parameters

  1. Polygon(K, L, V, W) → poly2, k_1, l, v, w_1
  2. Polygon(L, V, U, M) → poly3, l_1, v_1, u, m
  3. Polygon(M, U, T, N) → poly4, m_1, u_1, t, n
  4. Segment(I, H) → a
  5. Segment(H, Z) → c
  6. Segment(Z, F) → d
  7. Segment(F, G) → e
  8. Segment(A_1, Aact) → f
  9. Segment(C_1, Cact) → g
  10. Segment(D_1, Dact) → h
  11. Segment(B_1, Eact) → i
  12. Sort({x(A_1), x(B_1), x(C_1), x(D_1)}) → list1
  13. If(IndexOf[E, Sort[{A1, B1, C1, D1}]] ≟ IndexOf[x(B_1), Sort[{x(A_1), x(B_1), x(C_1), x(D_1)}]], 1) → orderB
  14. If(IndexOf[A, Sort[{A1, B1, C1, D1}]] ≟ IndexOf[x(A_1), Sort[{x(A_1), x(B_1), x(C_1), x(D_1)}]], 1) → orderA
  15. Sort({A1, B1, C1, D1}) → Test
  16. If(IndexOf[C, Sort[{A1, B1, C1, D1}]] ≟ IndexOf[x(C_1), Sort[{x(A_1), x(B_1), x(C_1), x(D_1)}]], 1) → orderC
  17. If(IndexOf[D, Sort[{A1, B1, C1, D1}]] ≟ IndexOf[x(D_1), Sort[{x(A_1), x(B_1), x(C_1), x(D_1)}]], 1) → orderD
  18. RandomElement({2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}) → Ddenom
  19. RandomElement({-9, -8, -7, -6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8, 9}) → Dwhole
  20. Polygon(J, X, W, K) → poly1, j, E_1, w, k

AI Drawing Prompt Reference

Draw rational numbers on a number line and arrange them in the correct order by dragging. Show the geometric structure formed by connecting these points with polygons, and their relationship with segments on the number line. Use randomly generated rational numbers and calculate their centroid or median to highlight the sorted results.
The prompt above was compiled from the original drawing commands and is for reference only.