最大公约数与最小公倍数验证练习:Formelfuchs GeoGebra 范例

最大公约数与最小公倍数验证练习:Formelfuchs GeoGebra 范例
几何画板及绘图内容加载中,请稍等……
2023-01-26 18:33
本范例演示一个交互式“公式狐狸”练习,通过输入框验证最大公约数与最小公倍数计算。核心概念:自然数公因数、公倍数、GCD、LCM、乘积关系 a×b = GCD(a,b)×LCM(a,b)。作图要点:使用 Textfield 与 InputBox 收集学生答案,LCM/GCD 自动计算,LaTeX 呈现公式,Polygon/Vector/Sequence 等对象组织界面与步骤,Shuffle/Append/Remove/Sum 管理题目或步骤,attemptCount 与 inputCorrect 控制反馈。适合 5-6 年级或初中数论入门、课堂练习。

GeoGebra 命令及参数

  1. Textfield(input4) → InputBox4
  2. LCM(A4, B4) → D4
  3. GCD(A4, B4) → C4
  4. LCM(A3, B3) → D3
  5. GCD(A3, B3) → C3
  6. LCM(A2, B2) → D2
  7. GCD(A2, B2) → C2
  8. Textfield(input3) → InputBox3
  9. Textfield(input2) → InputBox2
  10. Textfield(input1) → InputBox1
  11. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  12. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {8, 5, 2, 10, 5, 7, 6, 1, 0, 4, 2, 1, 9, 3, 4, 9, 4, 2, 4, 3, 0, 4, 6, 5, 3, 9, 4, 5, 10, 8, 8, 10, 9, 10, 0, 2, 10, 3, 1, 0, 8, 4, 7, 3, 2, 5, 5, 3, 4, 6, 1, 6, 5, 1, 1, 10, 5, 9, 8, 7, 1, 2, 9, 7, 0, 9, 2, 4, 10, 2, 2, 9, 3, 6, 10, 8, 7, 1, 1, 8, 2, 6, 9, 7, 8, 10, 1, 2, 5, 8, 2, 6, 2, 0, 4, 4, 1, 5, 3, 7}
  13. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {6, 8, 4, 8, 3, 0, 4, 2, 5, 9, 8, 7, 5, 6, 8, 4, 10, 7, 0, 8, 2, 9, 1, 1, 8, 9, 2, 0, 4, 4, 6, 10, 9, 5, 7, 3, 0, 3, 1, 2, 0, 3, 10, 1, 5, 1, 6, 0, 1, 2, 4, 4, 4, 0, 9, 4, 9, 3, 6, 8, 6, 3, 9, 7, 10, 0, 9, 6, 8, 0, 10, 5, 0, 2, 6, 7, 8, 9, 9, 5, 6, 5, 9, 0, 5, 4, 2, 3, 4, 5, 3, 5, 4, 7, 0, 6, 8, 2, 9, 7}
  14. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  15. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  16. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  17. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  18. Sum({attemptCountInputBox1, attemptCountInputBox2, attemptCountInputBox3, attemptCountInputBox4}) → attemptCount
  19. LaTeX(step, true, true) → Text1
  20. Vector(pointVektorGondel1, pointVektorGondel2) → vectorGondel
  21. LaTeX(attemptCount, true, true) → Text4
  22. LaTeX(attemptCountInputBox1, true, true) → Text5
  23. Sequence(Translate[{PosInputBox1, PosInputBox2, PosInputBox3, PosInputBox4}, (0, (j * tabledy))], j, 0, 2) → m2
  24. SB(Speechbubble21, Speechbubble22, Speechbubble23, Speechbubble24, Speechbubble25, Speechbubble26, Speechbubble27) → Speechbubble2

AI 绘图提示语参考

绘制一个互动练习,用于验证自然数的最大公约数(GCD)和最小公倍数(LCM)。在界面上输入两个数,计算它们的GCD和LCM,并通过文本框显示结果。使用几何图形和文本框组织界面,通过随机数生成和移除重复项来动态生成问题。根据学生输入的正确性,显示反馈信息。
以上提示语为根据原始绘图命令整理而来,仅供参考。