实际房间尺寸测量——第二级(小数)

实际房间尺寸测量——第二级(小数)
几何画板及绘图内容加载中,请稍等……
2021-09-08 13:20
所属专题 Maßstab
① 本范例演示如何根据比例图还原房间的真实长宽,并以小数形式呈现测量结果。② 核心数学概念包括比例尺换算、长度测量、小数运算以及几何作图中的多边形构造。③ 作图要点:使用 Polygon 创建房间轮廓,Length 计算边长,Shuffle 与 Element 配合随机生成题目,Textfield 与 InputBox 实现学生输入验证,Append/Remove 控制动态对象列表,validate、showanswer 等命令完成答题反馈与重试逻辑。④ 适用于小学五至六年级的测量与比例教学,也可作为初中几何作图与数值计算的入门练习。

GeoGebra 命令及参数

  1. Shuffle(l1) → task, {4, 2, 12, 10, 5, 3, 13, 1, 11, 7, 15, 6, 8, 14, 9}
  2. Element(task, switch) → n
  3. Textfield(aInput) → InputBox1
  4. Textfield(bInput) → InputBox2
  5. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  6. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {10, 4, 1, 7, 3, 4, 8, 10, 3, 9, 6, 4, 1, 1, 4, 9, 0, 2, 5, 7, 0, 5, 7, 2, 5, 0, 0, 5, 1, 9, 1, 7, 10, 0, 1, 9, 2, 0, 0, 1, 8, 9, 8, 10, 1, 5, 7, 0, 4, 7, 10, 9, 3, 7, 8, 10, 2, 9, 9, 3, 9, 4, 0, 4, 1, 1, 5, 2, 10, 0, 7, 2, 0, 8, 8, 9, 3, 5, 10, 7, 6, 2, 3, 3, 7, 5, 10, 4, 0, 7, 8, 1, 1, 7, 3, 1, 7, 0, 9, 10}
  7. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  8. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {7, 7, 4, 5, 7, 5, 3, 6, 5, 10, 0, 9, 6, 3, 2, 6, 1, 4, 1, 1, 4, 5, 5, 1, 9, 7, 9, 5, 3, 0, 0, 8, 2, 5, 8, 9, 7, 4, 4, 0, 6, 7, 10, 5, 8, 8, 1, 9, 1, 7, 6, 4, 10, 2, 9, 0, 0, 8, 5, 7, 8, 3, 7, 9, 10, 0, 7, 1, 0, 4, 5, 6, 3, 1, 5, 9, 1, 2, 6, 0, 1, 10, 1, 7, 10, 1, 0, 2, 2, 6, 7, 6, 0, 10, 8, 10, 3, 7, 1, 9}
  9. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  10. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  11. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  12. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  13. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  14. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  15. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  16. Polygon(A, B, C, D) → q1, a, b, c, d
  17. Length(task) → numberOfQuestions

AI 绘图提示语参考

绘制一个按比例缩放的房间平面图,随机生成四个顶点坐标构成矩形轮廓,计算并显示各边长度,提供两个输入框让学生填写实际长宽(以小数形式),并附带一个反馈矩形用于对比答案;支持多题随机切换、答案验证、显示正确解及重试功能。
以上提示语为根据原始绘图命令整理而来,仅供参考。