Rolling Dice and Flipping Coins: Frequency Bar Charts and Random Outcomes
Loading the math board and drawing, please wait…
In collections
Daten darstellen und ablesen
This GeoGebra activity demonstrates how random experiments such as rolling a die six times and flipping a coin many times can be represented with bar charts, and why small samples may produce different bar heights while repeated trials make frequencies more stable. It focuses on frequency, relative frequency, bar diagrams, data interpretation, and basic probability ideas. The construction uses Textfield for prompts and answer boxes, Polygon, Segment, Point, OrthogonalLine, Intersect, and Translate to build chart elements and visual feedback, while Shuffle, Sequence, Append, and Remove support random data handling and updates. SpeechBubbleRight, validation objects, hints, and answer/solution text make it suitable for grades 5–6 or early secondary statistics and probability lessons, classroom discussion, and formative assessment.
GeoGebra Commands & Parameters
Textfield(aInput) → InputBox1Textfield(bInput) → InputBox2Polygon(B_1, (x(B_1) + 1.4, y(B_1)), (x(B_1) + 1.4, y(B_1) - 1), (x(B_1), y(B_1) - 1)) → rectangleCorrect, c, d, e, i_1Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {10, 10, 0, 9, 8, 8, 0, 1, 6, 2, 2, 3, 10, 4, 4, 0, 1, 9, 2, 10, 5, 10, 5, 7, 6, 2, 4, 2, 6, 7, 5, 9, 9, 3, 3, 8, 3, 0, 3, 5, 5, 9, 4, 4, 5, 2, 4, 9, 4, 5, 8, 2, 3, 9, 8, 5, 8, 7, 9, 9, 5, 6, 8, 6, 8, 3, 7, 10, 0, 5, 4, 8, 3, 10, 3, 5, 10, 0, 9, 5, 6, 7, 3, 0, 0, 10, 2, 7, 8, 4, 3, 1, 0, 4, 1, 8, 3, 1, 5, 5}Element(randomNosForX, Mod[questionCount, 100] + 1) → numXShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {7, 0, 2, 10, 6, 4, 8, 2, 2, 0, 4, 0, 2, 10, 0, 9, 2, 1, 7, 8, 5, 9, 8, 8, 1, 10, 4, 3, 9, 10, 0, 3, 9, 3, 7, 10, 0, 2, 8, 7, 2, 0, 7, 10, 4, 10, 0, 0, 6, 0, 7, 0, 1, 7, 9, 6, 9, 10, 7, 7, 2, 0, 4, 1, 8, 5, 8, 4, 3, 5, 10, 0, 5, 1, 6, 9, 0, 3, 8, 2, 2, 5, 2, 3, 8, 3, 4, 7, 6, 7, 5, 2, 7, 0, 1, 10, 9, 9, 4, 10}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((aInput * bInput)) → fixedSegment(D, C) → gSegment(D, E) → hSequence((i, 0), i, 0.25, 6.25, 1) → l1Sequence((i, 0), i, 0.75, 6.75, 1) → l2Point(l1) → FPoint(l2) → GPolygon(F, G, I, H) → v1, f_1, g_1, i, h_1Point(l1) → RPoint(l2) → SPolygon(R, S, K, J) → v2, r, s_1, k, jPoint(l1) → TPoint(l2) → UPolygon(T, U, M, L) → v3, t, u, m, lPoint(l1) → VPoint(l2) → WPoint(l1) → ZPoint(l2) → A_1Polygon(Z, A_1, Q, P) → v5, z_1, a_1, q, pSequence((0, k), k, 1, 6) → l3Point(l1) → H_1Point(l2) → I_1Polygon(H_1, I_1, G_1, F_1) → v6, j_1, k_1, l_1, m_1Point(l1) → L_1Point(l2) → M_1Polygon(L_1, M_1, K_1, J_1) → v7, n_1, p_1, q_1, r_1Point(l1) → T_1Point(l2) → U_1Polygon(T_1, U_1, O_1, N_1) → v8, t_1, u_1, o_1, b_1Point(l1) → V_1Point(l2) → W_1Polygon(V_1, W_1, Q_1, P_1) → v9, v_1, w_1, c_1, d_1Point(l1) → Z_1Point(l2) → A_2Polygon(Z_1, A_2, S_1, R_1) → v10, e_1, a_2, s_2, f_2Point(l1) → D_2Point(l2) → E_2Polygon(D_2, E_2, C_2, B_2) → v11, d_2, e_2, c_2, b_2Point(l1) → H_2Point(l2) → I_2Polygon(H_2, I_2, G_2, F_2) → v12, h_2, i_2, g_2, j_2Point(l1) → L_2Point(l2) → M_2Polygon(L_2, M_2, K_2, J_2) → v13, l_2, m_2, k_2, n_2Point(l1) → P_2Point(l2) → Q_2Polygon(P_2, Q_2, O_2, N_2) → v14, p_2, q_2, o_2, r_2Point(l1) → T_2Point(l2) → U_2Polygon(T_2, U_2, S_2, R_2) → v15, t_2, u_2, s_3, f_3Point(l1) → Z_2Point(l2) → A_3Polygon(Z_2, A_3, W_2, V_2) → v16, z_2, a_3, w_2, v_2Point(l1) → D_3Point(l2) → E_3Polygon(D_3, E_3, C_3, B_3) → v17, d_3, e_3, c_3, b_3Point(l1) → J_3Point(l2) → K_3Polygon(J_3, K_3, G_3, F_3) → v18, j_3, k_3, g_3, h_3Point(l1) → L_3Point(l2) → M_3Polygon(L_3, M_3, I_3, H_3) → v19, l_3, m_3, i_3, n_3Point(l1) → P_3Point(l2) → Q_3Polygon(P_3, Q_3, O_3, N_3) → v20, p_3, q_3, o_3, r_3Point(l1) → T_3Point(l2) → U_3Polygon(T_3, U_3, S_3, R_3) → v21, t_3, u_3, s_{4}, f_4Point(l1) → Z_3Point(l2) → A_4Polygon(Z_3, A_4, W_3, V_3) → v22, z_3, a_4, w_3, v_3Point(l1) → D_4Point(l2) → E_4Polygon(D_4, E_4, C_4, B_4) → v23, d_4, e_4, c_4, b_4Polygon(B_{6}, (x(B_{6}) + 1.4, y(B_{6})), (x(B_{6}) + 1.4, y(B_{6}) - 1), (x(B_{6}), y(B_{6}) - 1)) → rectangleCorrect_{1}, c_{5}, d_{5}, e_{5}, i_{4}SpeechBubbleRight(F_4, 3, 1) → Vieleck1OrthogonalLine(L_4, gl2) → nOrthogonalLine(K_4, gl2) → g_4OrthogonalLine(J_4, gl2) → h_4OrthogonalLine(I_4, gl2) → j_4OrthogonalLine(H_4, gl2) → k_4OrthogonalLine(G_4, gl2) → l_4Intersect(n, gl2) → M_4Intersect(g_4, gl2) → N_4Intersect(h_4, gl2) → O_4Intersect(j_4, gl2) → P_4Intersect(k_4, gl2) → Q_4Intersect(l_4, gl2) → R_4Segment(G_4, R_4) → m_4Segment(H_4, Q_4) → n_4Segment(I_4, P_4) → p_4Segment(J_4, O_4) → q_4Segment(K_4, N_4) → r_4Segment(L_4, M_4) → t_4Translate({v1, v2, v3, v5}, (0, 0)) → l4Translate({v6, v7, v8, v9, v10, v11}, (0, 0)) → l5Translate({v12, v13, v14, v15, v16, v17}, (0, 0)) → l6Translate({v18, v19, v20, v21, v22, v23}, (0, 0)) → l7
AI Drawing Prompt Reference
Draw a complex figure containing multiple polygons. First, create two parallel line segments and mark several points on each segment. Then, use these points to construct multiple quadrilaterals and pentagons. Specifically, select four points on the first line segment and corresponding four points on the second line segment, connecting these points to form four quadrilaterals. Next, select three new points on each line segment and connect them to form two pentagons. Finally, select two more new points on each line segment and connect them to form another quadrilateral. All polygons should be symmetrically and evenly distributed.
The prompt above was compiled from the original drawing commands and is for reference only.