用统计量分析“用水量”数据:均值、众数与中位数

用统计量分析“用水量”数据:均值、众数与中位数
几何画板及绘图内容加载中,请稍等……
2023-07-13 16:37
该范例以“Wasserverbrauch(用水量)”为情境数据,引导学生比较并解读数据集的中心趋势与代表性数值。核心数学概念包括算术平均数(mean)、众数(mode)与中位数(median),以及如何对数据进行排序后确定中位数位置、通过频数找出众数,并与均值进行综合判断。作图与交互要点可从构造摘要提炼:使用下拉选择对象(dropDown1, dropDown2)与输入框(inputa~inpute、input1~input7)获取学生给定或生成的数据;用 Shuffle 对数据进行打乱,用 Sort 对数据排序;通过 Element 与 Append/Remove 维护数据列(columnList、Med、Mean 等)并计算相关统计量;再用 If 与 validate 控制答案流程;必要时用 Textfield、Polygon、Segment、OrthogonalLine、Intersect、Intersect 等几何工具辅助标注与界面呈现,并使用 showanswer/showsolution/btnValidate 进行验证与展示答案。适合5-6年级及入门统计活动,用于课堂练习、数据素养培养或数字化作业支撑。

GeoGebra 命令及参数

  1. If(questionCount ≟ 3, {inputa + 10, inputb, inputc, inputd, inpute}, {inputa, inputb, inputc, inputd, inpute}) → columnList
  2. Median(columnList) → Med
  3. mean(columnList) → Mean
  4. Textfield(input1) → InputBox1
  5. Textfield(input2) → InputBox2
  6. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, rectangleCorrectS3, rectangleCorrectS4, rectangleCorrectS2, rectangleCorrectS1
  7. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {10, 0, 3, 8, 5, 6, 3, 3, 4, 8, 2, 6, 9, 7, 3, 6, 2, 6, 2, 0, 7, 1, 6, 5, 4, 5, 8, 6, 9, 4, 10, 9, 0, 6, 0, 0, 9, 6, 5, 3, 3, 0, 5, 5, 9, 3, 5, 8, 0, 6, 2, 9, 4, 8, 10, 4, 5, 0, 10, 5, 5, 9, 3, 5, 7, 1, 9, 0, 7, 0, 4, 0, 10, 9, 1, 0, 6, 5, 10, 4, 0, 0, 9, 1, 0, 10, 6, 6, 8, 9, 3, 10, 9, 1, 6, 5, 3, 6, 10, 3}
  8. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  9. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {9, 8, 10, 5, 1, 4, 0, 9, 0, 9, 8, 10, 8, 0, 2, 6, 9, 10, 4, 8, 10, 10, 7, 7, 3, 2, 3, 6, 8, 5, 8, 7, 1, 9, 1, 3, 6, 0, 2, 10, 5, 0, 0, 4, 8, 2, 6, 2, 3, 8, 7, 9, 5, 5, 5, 8, 8, 6, 3, 9, 5, 9, 3, 2, 6, 5, 1, 10, 7, 0, 8, 2, 10, 2, 8, 7, 6, 10, 3, 2, 3, 2, 7, 5, 2, 9, 5, 9, 9, 7, 7, 10, 1, 10, 8, 0, 0, 10, 7, 1}
  10. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  11. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  12. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  13. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  14. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  15. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  16. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  17. mean(columnListUrspr) → MeanUrspr
  18. Median(columnListUrspr) → MedUrspr
  19. Sort(columnList) → columnListSorted
  20. Textfield(input4) → InputBox4
  21. Textfield(input5) → InputBox5
  22. Textfield(input6) → InputBox6
  23. Textfield(input7) → InputBox7
  24. Textfield(inputa) → InputBoxA
  25. Textfield(inputb) → InputBoxB
  26. Textfield(inputc) → InputBoxC
  27. Textfield(inputd) → InputBoxD
  28. Textfield(inpute) → InputBoxE
  29. Polygon(I, J, K, L) → q1, i, j, k, l
  30. OrthogonalLine(M, j) → f
  31. Intersect(f, j) → N
  32. Segment(M, N) → g
  33. Segment(O, S) → h
  34. Segment(P, T) → m
  35. Segment(Q, U) → n
  36. Segment(R, V) → p
  37. Segment(I, Z) → q
  38. Segment(L, W) → r
  39. Segment(Z, W) → s
  40. If(questionCount < 4, (-5.03412, 6.55313), (-5.03412, 7)) → PSol

AI 绘图提示语参考

绘制一个包含5个输入框的界面,输入框分别用于输入5个数字。然后根据这些数字计算并显示它们的平均值和中位数。接着,生成一个随机数列表,从中随机选择一个数作为X坐标,另一个数作为Y坐标。最后,绘制一个矩形,并在矩形内绘制一个与Y轴正交的直线,该直线与矩形的上边相交,相交点作为直线的端点之一。
以上提示语为根据原始绘图命令整理而来,仅供参考。