百分比计算:25格正方形中的着色比例

百分比计算:25格正方形中的着色比例
几何画板及绘图内容加载中,请稍等……
2022-10-10 08:30
该GeoGebra范例通过一个由25个小正方形组成的大正方形,直观展示百分比的计算方法。核心数学概念是百分比与分数、小数之间的转换,以及比例关系。作图要点包括:使用Polygon和Sequence命令生成正方形网格,通过Shuffle和Append等命令随机选择着色小方格,利用Textfield和InputBox让用户输入答案,并通过validate等对象实现即时反馈。适合小学5-6年级学生练习百分比概念,培养数感,并理解“部分占整体的百分之几”的数学意义。

GeoGebra 命令及参数

  1. 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}
  2. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  3. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  4. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numX
  5. Textfield(aInput) → InputBox1
  6. Textfield(bInput) → InputBox2
  7. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  8. Shuffle(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}
  9. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  10. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  11. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  12. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  13. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  14. Polygon((-4, 3), (1, 3), (1, 8), (-4, 8)) → v1, g, h, i, j
  15. Sequence(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)}}
  16. Point(m1) → A
  17. Point(m1) → B
  18. Point(m1) → C
  19. Point(m1) → D
  20. Polygon(A, B, C, D) → v2, a, b, c, d
  21. Point(m1) → E
  22. Point(m1) → F
  23. Polygon(E, F, B, A) → v3, e, f_1, b_1, a_1
  24. Point(m1) → G
  25. Point(m1) → H
  26. Polygon(G, H, F, E) → v4, g_1, h_1, f_2, e_1
  27. Point(m1) → I
  28. Point(m1) → J
  29. Polygon(I, J, H, G) → v5, i_1, j_1, h_2, g_2
  30. Point(m1) → K
  31. Point(m1) → L
  32. Polygon(K, L, J, I) → v6, k, l, j_2, i_2
  33. Point(m1) → M
  34. Point(m1) → N
  35. Polygon(B, M, N, C) → v7, b_2, m, n, c_1
  36. Point(m1) → O
  37. Polygon(F, O, M, B) → v8, f_3, o, m_1, b_3
  38. Point(m1) → P
  39. Polygon(H, P, O, F) → v9, h_3, p, o_1, f_4
  40. Point(m1) → Q
  41. Polygon(J, Q, P, H) → v10, j_3, q, p_1, h_4
  42. Polygon(L, R, Q, J) → v11, l_1, r, q_1, j_4
  43. Point(m1) → S
  44. Point(m1) → T
  45. Polygon(M, S, T, N) → v12, m_2, s, t, n_1
  46. Point(m1) → U
  47. Polygon(O, U, S, M) → v13, o_2, u, s_1, m_3
  48. Point(m1) → V
  49. Polygon(P, V, U, O) → v14, p_2, v, u_1, o_3
  50. Point(m1) → W
  51. Polygon(Q, W, V, P) → v15, q_2, w, v_1, p_3
  52. Polygon(R, Z, W, Q) → v16, r_1, z_1, w_1, q_3
  53. Point(m1) → A_1
  54. Point(m1) → B_1
  55. Polygon(S, A_1, B_1, T) → v17, s_2, k_1, t_1, t_2
  56. Point(m1) → C_1
  57. Polygon(U, C_1, A_1, S) → v18, u_2, d_1, k_2, s_3
  58. Point(m1) → D_1
  59. Polygon(V, D_1, C_1, U) → v19, v_2, l_2, n_2, u_3
  60. Point(m1) → E_1
  61. Polygon(W, E_1, D_1, V) → v20, w_2, r_2, a_2, v_3
  62. Point(m1) → F_1
  63. Polygon(Z, F_1, E_1, W) → v21, z_2, c_2, d_2, w_3
  64. Point(m1) → G_1
  65. Point(m1) → H_1
  66. Polygon(A_1, G_1, H_1, B_1) → v22, e_2, g_3, i_3, k_3
  67. Point(m1) → I_1
  68. Polygon(C_1, I_1, G_1, A_1) → v23, l_3, n_3, r_3, t_3
  69. Point(m1) → J_1
  70. Polygon(D_1, J_1, I_1, C_1) → v24, a_3, c_3, d_3, e_3
  71. Point(m1) → K_1
  72. Polygon(E_1, K_1, J_1, D_1) → v25, g_4, i_4, k_4, l_4
  73. Point(m1) → L_1
  74. Polygon(F_1, L_1, K_1, E_1) → v26, m_4, n_4, p_4, q_4
  75. Segment(D, K) → r_4
  76. Segment(C, L) → s_4
  77. Segment(N, R) → t_4
  78. Segment(T, Z) → a_4
  79. Segment(B_1, F_1) → b_4
  80. Segment(H_1, L_1) → c_4
  81. Segment(D, H_1) → d_4
  82. Segment(A, G_1) → e_4
  83. Segment(I_1, E) → f_5
  84. Segment(G, J_1) → g_5
  85. Segment(K_1, I) → h_5
  86. Segment(K, L_1) → i_5
  87. Textfield(helperInput) → helperBox
  88. RotateText(text4, 180°) → text5

AI 绘图提示语参考

请画一个用于百分比练习的交互式图形:先构造一个由25个相同小正方形组成的大正方形,作为整体;再随机选择其中若干小正方形并填充为阴影,表示部分;在旁边添加两个输入框,供学生输入阴影部分对应的分数、小数或百分比;同时设置一个反馈区域,当输入与阴影占比一致时显示正确提示。整体应简洁清晰,适合五六年级学生理解“阴影占整体的百分之几”。
以上提示语为根据原始绘图命令整理而来,仅供参考。