数轴上的分数
几何画板及绘图内容加载中,请稍等……
这个范例演示了如何在数轴上表示分数。核心数学概念包括分数及其在数轴上的位置。通过使用GeoGebra命令如Flatten、Sequence、CurveCartesian等,可以动态展示分数的加减运算。适合小学高年级和初中学生学习分数概念及其应用。
GeoGebra 命令及参数
Flatten({0, Sequence[(CountIf[x ≟ "big", First[order, i]] * Denominator) + CountIf[x ≟ "little", First[order, i]], i, 1, Length[order]]}) → landingsSequence(CurveCartesian[((landings(i) - landings(i - 1)) / (((2 * π) * Denominator)) * (t - sin(t))) + landings(i - 1) / Denominator, ((1 + (landings(i) - landings(i - 1) ≟ Denominator)) / 2 / π * (1 - cos(t))), t, 0, (2 * π)], i, 1, Length[landings] - 1) → jumpsCurveCartesian(((landings(Length[landings]) - landings(Length[landings] - 1)) / (((2 * π) * Denominator)) * (t - sin(t))) + landings(Length[landings] - 1) / Denominator, ((1 + (landings(Length[landings]) - landings(Length[landings] - 1) ≟ Denominator)) / 2 / π * (1 - cos(t))), t, 0, ((2 * π) * jumpTimer)) → currentHopIf(Length[landings] ≟ 1, 1, (landings(Length[landings] - 1) + (jumpTimer * (landings(Length[landings]) - landings(Length[landings] - 1)))) / Denominator + 1) → maxSegment((0, 0), (Max[(2 * max), 10], 0)) → numberLineSequence(Point[{i, 0}], i, 0, (2 * (max + 1))) → l1Sequence(Segment[(i / Denominator, -0.02), (i / Denominator, 0.02)], i, 1, ((2 * (max + 1)) * Denominator)) → l2Sequence(Text[i, (i - right / 100, -0.17)], i, 0, (2 * (max + 1))) → l3Sequence(FractionText[(Element[landings, i + 1] - Element[landings, i]) / Denominator], i, 1, Length[landings] - 1) → jumpsTextAppend("", Sequence["+", i, 1, Length[jumpsText] - 1]) → plusTextIf(number ≥ 1, Text[floor(number)], If[Length[landings] ≟ 1, "0", ""]) → wholeNumberText((((("$\frac{" * fractionPartNumerator) * "}{") * Denominator) * "}"), (0, 0), true, true) → fractionPart