Ordering Rational Numbers by Celia Jimenez
Loading the math board and drawing, please wait…
This example demonstrates the ordering and comparison of rational numbers by dragging values to their correct positions on a number line. Key math concepts include rational numbers, number line representation, and magnitude comparison. It is constructed using GeoGebra commands like Polygon, Segment, Sort, If, and RandomElement. Suitable for middle school and above students to understand rational number concepts and number line applications.
GeoGebra Commands & Parameters
Polygon(K, L, V, W) → poly2, k_1, l, v, w_1Polygon(L, V, U, M) → poly3, l_1, v_1, u, mPolygon(M, U, T, N) → poly4, m_1, u_1, t, nSegment(I, H) → aSegment(H, Z) → cSegment(Z, F) → dSegment(F, G) → eSegment(A_1, Aact) → fSegment(C_1, Cact) → gSegment(D_1, Dact) → hSegment(B_1, Eact) → iSort({x(A_1), x(B_1), x(C_1), x(D_1)}) → list1If(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) → orderBIf(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) → orderASort({A1, B1, C1, D1}) → TestIf(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) → orderCIf(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) → orderDRandomElement({2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}) → DdenomRandomElement({-9, -8, -7, -6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8, 9}) → DwholePolygon(J, X, W, K) → poly1, j, E_1, w, kRandomElement({2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}) → CdenomIf(Cdenom ≟ 2, Random[-20, 20, true], If[Cdenom ≟ 3, Random[-30, 30, true], If[Cdenom ≟ 4, Random[-40, 40, true], If[Cdenom ≟ 5, Random[-50, 50, true], If[Cdenom ≟ 6, Random[-60, 60, true], If[Cdenom ≟ 7, Random[-70, 70, true], If[Cdenom ≟ 8, Random[-80, 80, true], If[Cdenom ≟ 9, Random[-90, 90, true], If[Cdenom ≟ 10, Random[-100, 100, true], If[Cdenom ≟ 11, Random[-110, 110, true], If[Cdenom ≟ 12, Random[-120, 120, true]]]]]]]]]]]) → Cnum