在数轴上绘制有理数
几何画板及绘图内容加载中,请稍等……
本范例通过拖动有理数到数轴上的正确位置,演示了有理数在数轴上的表示。核心数学概念包括有理数及其在数轴上的位置。使用了RandomElement, If, Polygon, Segment, FractionText, Random, Sort等GeoGebra命令。适合初中及以上学生学习有理数的相关概念。
GeoGebra 命令及参数
RandomElement({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]]]]]]]]]]]) → CnumPolygon(I, W, V, J) → poly1, i, w, v, jPolygon(J, V, U, K) → poly2, j_1, v_1, u, kPolygon(K, U, T, L) → poly3, k_1, u_1, t, lPolygon(L, T, S, M) → poly4, l_1, t_1, s, mSegment(H, G) → cSegment(G, Z) → dSegment(Z, E) → eSegment(E, F) → fFractionText(C) → CfancyRandomElement({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}) → DwholeRandom(1, Ddenom - 1, true) → DnumFractionText(Dnum / Ddenom) → DfancyIf(Dwhole < 0, Dwhole - Dnum / Ddenom, Dwhole + Dnum / Ddenom) → DSegment(A_1, Aact) → aerrSegment(B_1, Bact) → berrSegment(C_1, Cact) → cerrSegment(D_1, Dact) → derrSort({A, B, C, D}) → testSort({x(A_1), x(B_1), x(C_1), x(D_1)}) → test2If(IndexOf[A, Sort[{A, B, C, D}]] ≟ IndexOf[x(A_1), Sort[{x(A_1), x(B_1), x(C_1), x(D_1)}]], 1) → orderAIf(IndexOf[B, Sort[{A, B, C, D}]] ≟ IndexOf[x(B_1), Sort[{x(A_1), x(B_1), x(C_1), x(D_1)}]], 1) → orderBIf(IndexOf[C, Sort[{A, B, C, D}]] ≟ IndexOf[x(C_1), Sort[{x(A_1), x(B_1), x(C_1), x(D_1)}]], 1) → orderCIf(IndexOf[D, Sort[{A, B, C, D}]] ≟ IndexOf[x(D_1), Sort[{x(A_1), x(B_1), x(C_1), x(D_1)}]], 1) → orderD
AI 绘图提示语参考
画一条数轴,然后在数轴上随机放置几个分数,包括整数和分数形式。首先随机选择一个分母(2到12之间),然后根据分母随机生成一个分子,形成分数。接着在数轴上标出这些分数的位置。然后随机选择另一个分母(2到12之间),生成一个带分数形式的数,并在数轴上标出其位置。最后,确保所有分数按照从小到大的顺序排列,并调整它们在数轴上的位置。
以上提示语为根据原始绘图命令整理而来,仅供参考。