用统计量分析“用水量”数据:均值、众数与中位数
几何画板及绘图内容加载中,请稍等……
该范例以“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 命令及参数
If(questionCount ≟ 3, {inputa + 10, inputb, inputc, inputd, inpute}, {inputa, inputb, inputc, inputd, inpute}) → columnListMedian(columnList) → Medmean(columnList) → MeanTextfield(input1) → InputBox1Textfield(input2) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, rectangleCorrectS3, rectangleCorrectS4, rectangleCorrectS2, rectangleCorrectS1Shuffle(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}Element(randomNosForX, Mod[questionCount, 100] + 1) → numXShuffle(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}Element(randomNosForY, Mod[questionCount, 100] + 1) → numYAppend(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayXAppend(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayYRemove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeatRemove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeatElement(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeatElement(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeatmean(columnListUrspr) → MeanUrsprMedian(columnListUrspr) → MedUrsprSort(columnList) → columnListSortedTextfield(input4) → InputBox4Textfield(input5) → InputBox5Textfield(input6) → InputBox6Textfield(input7) → InputBox7Textfield(inputa) → InputBoxATextfield(inputb) → InputBoxBTextfield(inputc) → InputBoxCTextfield(inputd) → InputBoxDTextfield(inpute) → InputBoxEPolygon(I, J, K, L) → q1, i, j, k, lOrthogonalLine(M, j) → fIntersect(f, j) → NSegment(M, N) → gSegment(O, S) → hSegment(P, T) → mSegment(Q, U) → nSegment(R, V) → pSegment(I, Z) → qSegment(L, W) → rSegment(Z, W) → sIf(questionCount < 4, (-5.03412, 6.55313), (-5.03412, 7)) → PSol
AI 绘图提示语参考
绘制一个包含5个输入框的界面,输入框分别用于输入5个数字。然后根据这些数字计算并显示它们的平均值和中位数。接着,生成一个随机数列表,从中随机选择一个数作为X坐标,另一个数作为Y坐标。最后,绘制一个矩形,并在矩形内绘制一个与Y轴正交的直线,该直线与矩形的上边相交,相交点作为直线的端点之一。
以上提示语为根据原始绘图命令整理而来,仅供参考。