最大公约数与最小公倍数交互检查器

最大公约数与最小公倍数交互检查器
几何画板及绘图内容加载中,请稍等……
2023-01-26 18:33
本范例演示了一个交互式数学工具,用于探索最大公约数(ggT)和最小公倍数(kgV)的性质,特别是通过可视化图形和用户输入来检查数论规律。核心数学概念包括最大公约数、最小公倍数、互质数以及数论中的基本关系,如任意数与1的ggT和kgV特性。作图要点上,从构造摘要提炼,使用了GeoGebra命令如Textfield用于文本输入、Polygon用于绘制多边形可视化、Shuffle用于随机化元素、Element和Append用于列表操作、CountIf用于条件计数、If和Sort用于逻辑判断与排序;对象包括s1_{2}、s1_{1}、CC、BB等序列变量,以及颜色对象如Blue、Green用于区分显示。该工具适合小学5-6年级学生,用于巩固数论技能,支持开放性问题探究和课堂互动。

GeoGebra 命令及参数

  1. Textfield(aInput) → InputBox1
  2. Textfield(bInput) → InputBox2
  3. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  4. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {1, 8, 8, 7, 4, 7, 6, 3, 0, 8, 1, 0, 8, 5, 1, 5, 1, 9, 2, 8, 6, 6, 6, 7, 3, 3, 9, 3, 7, 4, 3, 0, 2, 0, 2, 3, 3, 1, 2, 3, 2, 8, 1, 5, 5, 10, 3, 3, 7, 0, 10, 6, 3, 4, 1, 8, 4, 3, 6, 6, 7, 10, 9, 7, 0, 5, 6, 6, 1, 7, 10, 8, 7, 7, 7, 0, 6, 0, 2, 0, 10, 8, 10, 6, 0, 3, 10, 4, 10, 6, 2, 6, 3, 3, 9, 4, 10, 4, 5, 0}
  5. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  6. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {2, 10, 8, 2, 2, 4, 6, 9, 4, 2, 10, 1, 3, 7, 10, 10, 4, 9, 1, 6, 5, 2, 7, 4, 1, 8, 4, 7, 7, 10, 8, 8, 0, 8, 0, 2, 3, 6, 10, 7, 7, 8, 10, 8, 0, 1, 0, 7, 2, 7, 7, 1, 2, 6, 10, 7, 8, 8, 6, 1, 4, 1, 7, 5, 10, 7, 0, 3, 1, 1, 3, 0, 3, 4, 9, 7, 9, 1, 5, 5, 1, 9, 1, 1, 4, 0, 3, 9, 4, 8, 10, 1, 5, 3, 2, 4, 1, 6, 1, 3}
  7. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  8. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  9. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  10. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  11. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  12. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  13. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  14. Polygon(O, P, R, Q) → v1, o, p, r, q
  15. CountIf(x ≠ 0, listAllNumbersSelected) → numOfNumbers
  16. If(s1 ≟ 3.5 ∧ s1_{1} ≟ 3.5 ∧ (¬(s1 ≟ 3.5 ∧ s1_{1} ≟ 3.5 ∧ s1_{2} ≟ 3.5)), LCM[{AA, BB}], LCM[{AA, BB, CC}]) → kgV
  17. If(s1 ≟ 3.5 ∧ s1_{1} ≟ 3.5 ∧ (¬(s1 ≟ 3.5 ∧ s1_{1} ≟ 3.5 ∧ s1_{2} ≟ 3.5)), GCD[{AA, BB}], GCD[{AA, BB, CC}]) → ggT
  18. Sort(allNumbers) → allNumbersSorted
  19. Remove(allNumbersSorted, {Max[allNumbersSorted]}) → allNumbersSortedWithoutHighestValue