Paper Airplane Contest: Interactive Mean vs Median
Loading the math board and drawing, please wait…
This GeoGebra example uses a paper-airplane distance data table (with adjustable flight distances) to demonstrate how changing values affects the arithmetic mean and the median. It focuses on key statistics concepts: arithmetic mean (mean), median (Median), interpretation of median via ordering, and reasoning about how edits to one or several data points can change one statistic more than the other. From the construction summary, the lesson is built with Textfield for question/input/feedback UI, and geometric/data elements using Point, Sequence, and Polygon; Shuffle is used to randomize or revisit initial conditions, while Element together with Append and Remove supports dynamic updating of data/objects. The statistics are computed directly with mean and Median, and interactive assessment is implemented using validate, showanswer, showsolution, btnValidate, attemptCount/correctCount, btnTryAgain, btnNew, and hint/solution display controls (e.g., showhint, showButtonNew/tryAgain). Suitable for grade 5–6 to introduce probability & statistics, arithmetic mean/median interpretation, and conditional tasks such as “make the mean larger” or “make the median smaller by at least 1 m.”
GeoGebra Commands & Parameters
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 Drawing Prompt Reference
Create an interactive chart for a paper airplane contest showing how the mean and median change with flight distances. Start by drawing a rectangle, then generate 100 unique X and Y coordinates between 0 and 10, removing duplicates. Next, plot these points and calculate the mean and median of the input values. Finally, draw several polygons and segments to illustrate the changes in mean and median.
The prompt above was compiled from the original drawing commands and is for reference only.