纸飞机竞赛:算术平均数与中位数的互动变化
几何画板及绘图内容加载中,请稍等……
该范例通过纸飞机飞行距离的可操作数据表与统计量计算,展示当个别/多项距离被修改时,算术平均数与中位数如何变化。核心数学概念包括算术平均数(mean)、中位数(median)、数据排序后的位置含义,以及“更改数据会同时/分别影响均值与中位数”的规律判断。作图与交互要点来自构造摘要:使用Textfield生成题目与输入/反馈界面,并用Point、Sequence与Polygon构建纸飞机与对应数据/图形元素;通过Shuffle在初始条件之间实现数据随机/重置;用Element、Append与Remove管理对象的添加与移除;用mean和Median分别计算当前数据的均值与中位数;并结合validate、showanswer、showsolution、btnValidate、attemptCount/correctCount、btnTryAgain、btnNew、showButtonNew/showButtonTryAgain/showhint等逻辑按钮与提示机制,引导学生完成“调整距离使均值/中位数满足条件”的任务。适合5-6年级用于概率统计与统计特征入门,也可用于课堂练习与交互式作业,帮助学生理解均值对极端值更敏感、而中位数更受秩序影响的直观差异。
GeoGebra 命令及参数
Textfield(input1) → InputBox1Textfield(input2) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, rectangleCorrectS3, rectangleCorrectS4, rectangleCorrectS2, rectangleCorrectS1Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {0, 3, 4, 5, 2, 2, 8, 7, 7, 0, 3, 4, 0, 7, 0, 9, 9, 9, 1, 5, 9, 1, 0, 10, 7, 7, 7, 5, 2, 2, 10, 7, 10, 1, 6, 4, 8, 10, 10, 10, 5, 10, 5, 4, 10, 8, 6, 6, 0, 4, 0, 9, 7, 1, 1, 7, 6, 2, 1, 8, 7, 8, 2, 4, 6, 6, 10, 0, 2, 9, 1, 0, 9, 5, 10, 6, 4, 9, 3, 1, 8, 8, 8, 4, 9, 4, 5, 4, 0, 10, 7, 1, 6, 8, 6, 2, 10, 8, 1, 7}Element(randomNosForX, Mod[questionCount, 100] + 1) → numXShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {9, 10, 8, 9, 1, 9, 0, 3, 6, 5, 6, 3, 0, 2, 2, 5, 6, 0, 3, 4, 5, 8, 5, 9, 10, 7, 3, 6, 3, 8, 5, 2, 1, 9, 8, 4, 7, 8, 3, 1, 6, 7, 4, 5, 2, 3, 4, 8, 6, 9, 1, 6, 9, 10, 10, 2, 10, 6, 3, 6, 2, 4, 7, 10, 0, 7, 0, 4, 7, 0, 3, 1, 6, 8, 0, 1, 4, 9, 5, 1, 2, 9, 9, 9, 5, 7, 6, 2, 1, 6, 0, 4, 1, 4, 10, 1, 6, 3, 9, 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) → numYwithoutRepeatDefined((input1 * input2)) → fixedPoint(xAxis) → OTextfield(input3) → InputBox3Textfield(input4) → InputBox4Textfield(input5) → InputBox5Textfield(input6) → InputBox6Textfield(input7) → InputBox7Textfield(input8) → InputBox8Point(xAxis) → WPoint(xAxis) → ZSegment(W, Z) → pSegment(W, A_1) → qPolygon(P1, P2, C_1, B_1) → q3, p1, p2, r, b_1Polygon(P3, P4, E_1, D_1) → q4, p3, p4, e_1, sPolygon(P5, P6_{1}, G_1, F_1) → q5, p5, p6_{1}, g_1, tPolygon(P6, P7, I_1, H_1) → q6, p6, p7, i_1, h_1Polygon(P8, P9, K_1, J_1) → q7, p8, p9, k_1, j_1Polygon(P10, P11, M_1, L_1) → q8, p10, p11, m_1, l_1Polygon(P12, P13, O_1, N_1) → q9, p12, p13, o_1, n_1Polygon(P14, P15, Q_1, P_1) → q10, p14, p15, q_1, p_1mean({input1, input2, input3, input4, input5, input6, input7, input8}) → mittelwMedian({input1, input2, input3, input4, input5, input6, input7, input8}) → medSegment(R_1, S_1) → r_1Segment(T_1, U_1) → s_1Segment(H, I) → fSegment(E, PKT3) → gSegment(F, PKT4) → hSegment(H, F) → iSegment(G, PKT2) → jSegment(I, PKT4) → kPolygon(G, PKT2, F, H) → q1, g_2, pkt2, f_1, h_2Segment(J, T) → lSegment(K, U) → mSegment(L, V) → nSegment(M, V_1) → bSegment(P, W_1) → cSegment(Q, Z_1) → dSegment(S, A_2) → eSequence((-5, (i * 0.7)), i, 0, 9) → l2Sequence(Segment[(-5.1, (i * 0.7)), (-4.9, (i * 0.7))], i, 1, 9) → l4Sequence(Text["\textsf{" + (i - 1) + "}", l2(i) + (-0.3, 0.05), false, true, 0, 0], i, 1, Length[l2]) → l3
AI 绘图提示语参考
创建一个纸飞机比赛的互动图表,展示距离数据表中的平均值和中位数如何随飞行距离变化。首先画一个矩形,然后随机生成100个0到10之间的X和Y坐标值,去除重复值。接着,根据这些坐标值绘制一系列不重复的点,并计算输入值的平均值和中位数。最后,根据这些数据绘制一系列多边形和线段,展示平均值和中位数的变化。
以上提示语为根据原始绘图命令整理而来,仅供参考。