结合律演示:Melli Mathemagicus 交互式练习

结合律演示:Melli Mathemagicus 交互式练习
几何画板及绘图内容加载中,请稍等……
2022-05-12 16:11
① 该范例演示如何利用结合律、交换律和分配律巧妙计算 13·25·4。② 核心数学概念为整数乘法的运算律(结合律、交换律、分配律)及运算顺序。③ 作图要点:使用 Textfield、InputBox 等文本输入组件,配合 Polygon、Shuffle、Element、Append、Remove、Defined、SpeechBubble 等命令构建交互式题目、验证、提示与反馈机制,涉及 validate、showanswer、showsolution、btnValidate、attemptCount、correctCount、btnTryAgain、btnNew 等对象。④ 适合小学 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, {10, 5, 9, 3, 4, 10, 5, 9, 5, 2, 3, 7, 9, 4, 10, 8, 8, 1, 2, 8, 5, 0, 0, 4, 4, 9, 1, 10, 0, 1, 10, 3, 8, 4, 8, 9, 1, 0, 9, 5, 7, 7, 5, 6, 3, 8, 6, 6, 8, 8, 6, 8, 8, 5, 4, 2, 7, 7, 10, 1, 9, 1, 4, 8, 3, 10, 0, 1, 5, 3, 4, 2, 0, 6, 8, 10, 9, 1, 1, 1, 2, 3, 2, 10, 9, 2, 0, 8, 1, 8, 3, 2, 8, 2, 4, 3, 7, 7, 2, 8}
  5. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  6. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {6, 6, 7, 1, 1, 2, 3, 8, 1, 1, 8, 8, 0, 3, 1, 7, 8, 1, 2, 1, 8, 2, 8, 10, 3, 2, 0, 4, 7, 2, 2, 4, 8, 9, 1, 0, 1, 3, 0, 1, 7, 6, 9, 9, 6, 3, 8, 10, 6, 4, 10, 4, 8, 8, 7, 0, 6, 0, 3, 5, 9, 2, 1, 6, 7, 6, 6, 10, 0, 7, 4, 5, 4, 2, 4, 0, 3, 5, 9, 0, 0, 9, 4, 3, 3, 0, 9, 9, 5, 4, 7, 5, 6, 5, 1, 0, 4, 10, 2, 0}
  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. Defined((aInput * bInput)) → fixed
  15. SpeechBubble(P, Corner[Text2, 1], Corner[Text2, 2], Corner[Text2, 3]) → l1

AI 绘图提示语参考

绘制一个交互式乘法练习界面,顶部显示题目“13·25·4”,下方提供两个输入框供学习者填入中间计算结果,右侧有一个矩形反馈区域,正确时变绿、错误时变红,旁边配有气泡提示框显示解题步骤。界面还包含“验证”“再试一次”“新题”三个按钮,以及尝试次数和正确次数的计数器。题目中的两个乘数由随机生成的0‑10整数组成,且相邻数字不重复,系统会根据随机序列自动切换题目。整体布局简洁,色彩区分明确,适合小学五六年级练习结合律、交换律和分配律。
以上提示语为根据原始绘图命令整理而来,仅供参考。