Percentage Calculation: Shaded Squares in a 25-Grid
Loading the math board and drawing, please wait…
In collections
Prozent als Bruch- bzw. Dezimalzahl darstellen
This GeoGebra example demonstrates how to calculate percentages using a large square composed of 25 small squares. The core math concept is the conversion between fractions, decimals, and percentages, along with proportional reasoning. Construction highlights include using Polygon and Sequence to create the grid, Shuffle and Append to randomly select shaded squares, Textfield and InputBox for user input, and validate objects for instant feedback. Designed for grades 5-6, it helps students develop number sense and understand the meaning of 'what percent of the whole is shaded'.
GeoGebra Commands & Parameters
Shuffle(Sequence[Random[0, 25], i, 1, 100]) → randomNosForX, {9, 21, 5, 15, 8, 13, 20, 24, 18, 24, 13, 15, 22, 6, 22, 22, 25, 4, 15, 16, 22, 5, 12, 8, 21, 13, 13, 7, 15, 19, 10, 20, 18, 6, 24, 18, 5, 7, 9, 24, 25, 6, 15, 5, 22, 23, 21, 8, 18, 15, 21, 14, 4, 0, 13, 17, 17, 2, 20, 4, 25, 23, 8, 1, 15, 12, 2, 23, 9, 14, 15, 24, 0, 14, 5, 24, 7, 4, 25, 5, 11, 11, 11, 20, 12, 1, 8, 2, 22, 1, 17, 15, 14, 2, 9, 16, 12, 24, 5, 17}Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayXRemove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeatElement(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXTextfield(aInput) → InputBox1Textfield(bInput) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {8, 10, 1, 10, 7, 5, 3, 0, 0, 4, 5, 7, 8, 7, 10, 6, 10, 7, 6, 2, 4, 1, 0, 2, 3, 10, 2, 4, 4, 9, 3, 10, 9, 1, 0, 6, 3, 4, 1, 9, 2, 6, 6, 7, 1, 3, 10, 2, 5, 0, 3, 0, 9, 4, 7, 8, 4, 2, 0, 9, 5, 2, 9, 0, 3, 3, 7, 5, 6, 10, 6, 2, 1, 10, 8, 2, 0, 1, 9, 10, 5, 10, 10, 0, 6, 1, 2, 7, 9, 2, 3, 9, 5, 3, 0, 4, 0, 3, 1, 0}Element(randomNosForY, Mod[questionCount, 100] + 1) → numYAppend(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayYRemove(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) → numYwithoutRepeatPolygon((-4, 3), (1, 3), (1, 8), (-4, 8)) → v1, g, h, i, jSequence(Sequence[(i, j), j, 3, 8], i, -4, 1) → m1, {{(-4, 3), (-4, 4), (-4, 5), (-4, 6), (-4, 7), (-4, 8)}, {(-3, 3), (-3, 4), (-3, 5), (-3, 6), (-3, 7), (-3, 8)}, {(-2, 3), (-2, 4), (-2, 5), (-2, 6), (-2, 7), (-2, 8)}, {(-1, 3), (-1, 4), (-1, 5), (-1, 6), (-1, 7), (-1, 8)}, {(0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8)}, {(1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (1, 8)}}Point(m1) → APoint(m1) → BPoint(m1) → CPoint(m1) → DPolygon(A, B, C, D) → v2, a, b, c, dPoint(m1) → EPoint(m1) → FPolygon(E, F, B, A) → v3, e, f_1, b_1, a_1Point(m1) → GPoint(m1) → HPolygon(G, H, F, E) → v4, g_1, h_1, f_2, e_1Point(m1) → IPoint(m1) → JPolygon(I, J, H, G) → v5, i_1, j_1, h_2, g_2Point(m1) → KPoint(m1) → LPolygon(K, L, J, I) → v6, k, l, j_2, i_2Point(m1) → MPoint(m1) → NPolygon(B, M, N, C) → v7, b_2, m, n, c_1Point(m1) → OPolygon(F, O, M, B) → v8, f_3, o, m_1, b_3Point(m1) → PPolygon(H, P, O, F) → v9, h_3, p, o_1, f_4Point(m1) → QPolygon(J, Q, P, H) → v10, j_3, q, p_1, h_4Polygon(L, R, Q, J) → v11, l_1, r, q_1, j_4Point(m1) → SPoint(m1) → TPolygon(M, S, T, N) → v12, m_2, s, t, n_1Point(m1) → UPolygon(O, U, S, M) → v13, o_2, u, s_1, m_3Point(m1) → VPolygon(P, V, U, O) → v14, p_2, v, u_1, o_3Point(m1) → WPolygon(Q, W, V, P) → v15, q_2, w, v_1, p_3Polygon(R, Z, W, Q) → v16, r_1, z_1, w_1, q_3Point(m1) → A_1Point(m1) → B_1Polygon(S, A_1, B_1, T) → v17, s_2, k_1, t_1, t_2Point(m1) → C_1Polygon(U, C_1, A_1, S) → v18, u_2, d_1, k_2, s_3Point(m1) → D_1Polygon(V, D_1, C_1, U) → v19, v_2, l_2, n_2, u_3Point(m1) → E_1Polygon(W, E_1, D_1, V) → v20, w_2, r_2, a_2, v_3Point(m1) → F_1Polygon(Z, F_1, E_1, W) → v21, z_2, c_2, d_2, w_3Point(m1) → G_1Point(m1) → H_1Polygon(A_1, G_1, H_1, B_1) → v22, e_2, g_3, i_3, k_3Point(m1) → I_1Polygon(C_1, I_1, G_1, A_1) → v23, l_3, n_3, r_3, t_3Point(m1) → J_1Polygon(D_1, J_1, I_1, C_1) → v24, a_3, c_3, d_3, e_3Point(m1) → K_1Polygon(E_1, K_1, J_1, D_1) → v25, g_4, i_4, k_4, l_4Point(m1) → L_1Polygon(F_1, L_1, K_1, E_1) → v26, m_4, n_4, p_4, q_4Segment(D, K) → r_4Segment(C, L) → s_4Segment(N, R) → t_4Segment(T, Z) → a_4Segment(B_1, F_1) → b_4Segment(H_1, L_1) → c_4Segment(D, H_1) → d_4Segment(A, G_1) → e_4Segment(I_1, E) → f_5Segment(G, J_1) → g_5Segment(K_1, I) → h_5Segment(K, L_1) → i_5Textfield(helperInput) → helperBoxRotateText(text4, 180°) → text5
AI Drawing Prompt Reference
Create an interactive percentage-practice figure. First draw a large square divided into 25 equal small squares, representing the whole. Then randomly shade several of the small squares to represent a part of the whole. Add two input boxes where a student can enter the fraction, decimal, or percent that matches the shaded amount. Include a feedback area that shows a correct response when the entered value matches the shaded proportion. Keep the layout simple and clear for grades 5–6, emphasizing the idea of what percent of the whole is shaded.
The prompt above was compiled from the original drawing commands and is for reference only.