Coloring Fractions in a Percent Circle

Coloring Fractions in a Percent Circle
Loading the math board and drawing, please wait…
2022-10-10 08:31
This example shows how to shade fractions within a percent circle, illustrating the relationship between fractions, decimals, and percentages. The construction uses GeoGebra commands such as Circle, CircleSector, and Sequence to create interactive sector regions. Designed for grades 5‑6, it serves as an effective exercise for building number sense and percentage understanding.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[RandomElement[{4, 5, 10}], i, 1, 100]) → nenner, {4, 5, 5, 4, 4, 4, 4, 10, 10, 10, 4, 4, 10, 5, 5, 5, 4, 5, 4, 4, 4, 10, 4, 4, 5, 4, 5, 4, 10, 5, 5, 5, 4, 5, 4, 10, 4, 10, 4, 4, 4, 4, 5, 4, 5, 4, 4, 5, 10, 4, 10, 5, 4, 5, 5, 4, 4, 10, 4, 4, 4, 4, 10, 10, 5, 5, 5, 10, 5, 10, 5, 5, 4, 4, 5, 10, 5, 4, 5, 10, 5, 5, 5, 4, 4, 4, 10, 4, 4, 4, 10, 10, 4, 4, 10, 5, 5, 4, 10, 5}
  2. Append(true, Sequence[If[nenner(i) ≟ nenner(i - 1), false, true], i, 2, 100]) → stayX
  3. Remove(Sequence[If[stayX(i), nenner(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → nennerWithoutRepeat
  4. Element(nennerWithoutRepeat, Mod[questionCount, Length[nennerWithoutRepeat]] + 1) → nennerwithoutRepeat
  5. Element(nenner, Mod[questionCount, 100] + 1) → numNenner
  6. Shuffle(Sequence[RandomElement[{25, 50, 75, 100}], i, 1, 100]) → perCent4, {75, 75, 50, 100, 100, 50, 75, 100, 25, 75, 100, 100, 50, 25, 75, 50, 75, 50, 50, 25, 100, 50, 100, 75, 50, 75, 75, 75, 75, 75, 25, 100, 50, 100, 100, 100, 25, 100, 50, 25, 50, 50, 100, 100, 25, 75, 25, 25, 50, 100, 50, 100, 25, 50, 25, 50, 50, 25, 75, 50, 100, 25, 75, 25, 100, 25, 25, 75, 75, 75, 50, 25, 50, 100, 75, 100, 50, 50, 50, 100, 75, 100, 50, 25, 25, 25, 50, 50, 75, 100, 75, 25, 100, 75, 100, 100, 25, 50, 75, 75}
  7. Shuffle(Sequence[RandomElement[{20, 40, 60, 80, 100}], i, 1, 100]) → perCent5, {40, 20, 100, 40, 60, 20, 60, 60, 60, 60, 80, 60, 40, 100, 60, 60, 60, 20, 100, 80, 100, 80, 100, 100, 20, 40, 100, 100, 60, 60, 20, 80, 20, 20, 80, 80, 60, 20, 80, 80, 20, 60, 60, 60, 20, 100, 40, 20, 100, 20, 100, 100, 60, 100, 80, 20, 60, 100, 20, 100, 100, 40, 80, 40, 100, 60, 40, 60, 20, 40, 60, 60, 80, 60, 60, 80, 20, 80, 80, 40, 80, 40, 40, 20, 40, 100, 20, 80, 40, 20, 80, 100, 20, 60, 80, 80, 20, 100, 60, 20}
  8. Shuffle(Sequence[RandomElement[{10, 20, 30, 40, 50, 60, 70, 80, 90, 100}], i, 1, 100]) → perCent10, {80, 10, 20, 20, 30, 40, 70, 30, 30, 10, 60, 20, 40, 30, 70, 10, 90, 60, 100, 30, 60, 20, 30, 70, 50, 30, 90, 50, 100, 70, 40, 80, 70, 40, 100, 80, 50, 50, 60, 60, 80, 50, 80, 80, 90, 10, 60, 10, 60, 50, 10, 30, 70, 30, 30, 50, 10, 60, 10, 60, 100, 90, 100, 60, 70, 40, 10, 100, 50, 30, 90, 30, 50, 50, 40, 70, 70, 60, 10, 20, 90, 100, 60, 70, 30, 90, 90, 70, 10, 100, 50, 80, 100, 70, 100, 80, 40, 30, 90, 30}
  9. Append(true, Sequence[If[perCent5(i) ≟ perCent5(i - 1), false, true], i, 2, 100]) → stayB
  10. Remove(Sequence[If[stayB(i), perCent5(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → perCent5WOR
  11. Element(perCent5WOR, Mod[questionCount, 100] + 1) → numB
  12. Append(true, Sequence[If[perCent10(i) ≟ perCent10(i - 1), false, true], i, 2, 100]) → stayC
  13. Remove(Sequence[If[stayC(i), perCent10(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → perCent10WOR
  14. Element(perCent10WOR, Mod[questionCount, 100] + 1) → numC
  15. CountIf(x ≠ 0, l4er) → clickedOf4
  16. Append(true, Sequence[If[perCent4(i) ≟ perCent4(i - 1), false, true], i, 2, 100]) → stayA
  17. Remove(Sequence[If[stayA(i), perCent4(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → perCent4WOR
  18. Element(perCent4WOR, Mod[questionCount, 100] + 1) → numA
  19. If(nennerwithoutRepeat ≟ 4, numA, If[nennerwithoutRepeat ≟ 5, numB, If[nennerwithoutRepeat ≟ 10, numC]]) → numPC
  20. CountIf(x ≠ 0, l5er) → clickedOf5
  21. CountIf(x ≠ 0, l10er) → clickedOf10
  22. Textfield(aInput) → InputBox1
  23. Textfield(bInput) → InputBox2
  24. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  25. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {2, 0, 5, 4, 2, 9, 4, 10, 1, 3, 0, 7, 2, 10, 8, 8, 9, 9, 5, 5, 2, 9, 1, 10, 2, 5, 7, 5, 5, 5, 2, 4, 1, 7, 4, 2, 7, 1, 4, 9, 3, 10, 7, 4, 4, 1, 7, 6, 8, 9, 4, 0, 5, 2, 3, 6, 8, 8, 2, 9, 9, 7, 1, 7, 4, 10, 6, 0, 7, 7, 2, 5, 9, 9, 7, 9, 1, 10, 5, 2, 3, 0, 7, 1, 7, 9, 3, 1, 6, 3, 3, 8, 10, 3, 1, 10, 7, 8, 5, 6}
  26. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  27. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  28. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  29. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  30. Defined((aInput * bInput)) → fixed
  31. Circle(A, B) → c
  32. Segment(A, B) → g
  33. Sequence(Segment[Rotate[A, ((2 * i) * pi / nennerwithoutRepeat), A], Rotate[B, ((2 * i) * pi / nennerwithoutRepeat), A]], i, 1, nennerwithoutRepeat) → nennersSegments
  34. Shuffle(Sequence[RandomElement[{5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 80, 95, 100}], i, 1, 100]) → perCent20, {15, 45, 40, 20, 20, 30, 70, 60, 35, 75, 70, 10, 35, 5, 95, 5, 70, 80, 40, 45, 5, 70, 5, 70, 45, 25, 25, 100, 10, 45, 75, 80, 30, 15, 40, 55, 45, 35, 80, 20, 60, 85, 65, 40, 20, 25, 15, 65, 65, 100, 45, 25, 45, 40, 40, 95, 65, 70, 25, 75, 100, 80, 75, 35, 35, 65, 70, 60, 75, 40, 45, 75, 80, 55, 15, 60, 75, 5, 100, 40, 70, 15, 55, 25, 25, 45, 25, 75, 65, 55, 65, 30, 80, 65, 95, 25, 80, 35, 70, 95}
  35. Shuffle(Sequence[RandomElement[{4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100}], i, 1, 100]) → perCent25, {60, 80, 56, 4, 12, 12, 92, 76, 8, 76, 84, 36, 12, 64, 28, 44, 68, 36, 32, 32, 80, 44, 24, 52, 4, 36, 88, 60, 84, 68, 68, 48, 92, 52, 76, 72, 96, 68, 20, 56, 80, 84, 4, 92, 28, 60, 100, 24, 40, 60, 12, 28, 76, 8, 52, 84, 20, 88, 96, 100, 4, 100, 36, 28, 92, 40, 36, 20, 68, 68, 4, 96, 80, 40, 84, 72, 88, 24, 12, 40, 64, 48, 28, 8, 8, 8, 36, 12, 36, 20, 16, 4, 48, 20, 100, 52, 52, 44, 72, 28}
  36. Sequence(Rotate[B, ((2 * i) * pi / nennerwithoutRepeat), A], i, 1, nennerwithoutRepeat) → nennersPoints
  37. Point(nennersSegments) → F
  38. Point(nennersSegments) → G
  39. Point(nennersSegments) → H
  40. Point(nennersSegments) → I
  41. Rotate(E, 36°, A) → E'
  42. CircleSector(A, E, E') → d
  43. Rotate(d, 36°, A) → d'
  44. Rotate(d', 36°, A) → d''
  45. Rotate(d'', 36°, A) → d'''
  46. Rotate(d''', 36°, A) → e
  47. Rotate(e, 36°, A) → e'
  48. Rotate(e', 36°, A) → e''
  49. Rotate(e'', 36°, A) → e'''
  50. Rotate(e''', 36°, A) → h
  51. Rotate(h, 36°, A) → h'
  52. CircleSector(A, E, J) → k
  53. Rotate(k, 90°, A) → k'
  54. Rotate(k', 90°, A) → k''
  55. Rotate(k'', 90°, A) → k'''
  56. Rotate(E, 72°, A) → E'_{1}
  57. CircleSector(A, E, E'_{1}) → p
  58. Rotate(p, 72°, A) → p'
  59. Rotate(p', 72°, A) → p''
  60. Rotate(p'', 72°, A) → p'''
  61. Rotate(p''', 72°, A) → q
  62. Join({l10er, l4er, l5er}) → clickedGesamt
  63. CountIf(x ≠ 0, clickedGesamt) → clickedGes
  64. Rotate(B, 90°, A) → B'
  65. Rotate(B, 180°, A) → B'_{1}
  66. Rotate(B, 270°, A) → B'_{2}
  67. CircleSector(A, B, B') → r
  68. CircleSector(A, B, B'_{1}) → s
  69. CircleSector(A, B, B'_{2}) → t
  70. Circle(A, B) → c_1
  71. Rotate(B, 72°, A) → B'_{3}
  72. Rotate(B, (2 * 72°), A) → B'_{4}
  73. Rotate(B, (3 * 72°), A) → B'_{5}
  74. Rotate(B, (4 * 72°), A) → B'_{6}
  75. CircleSector(A, B, B'_{3}) → d_1
  76. CircleSector(A, B, B'_{4}) → e_1
  77. CircleSector(A, B, B'_{5}) → f_1
  78. CircleSector(A, B, B'_{6}) → g_1
  79. Rotate(B, 36°, A) → B'_{7}
  80. Rotate(B, (2 * 36°), A) → B'_{8}
  81. Rotate(B, (3 * 36°), A) → B'_{9}
  82. Rotate(B, (4 * 36°), A) → B'_{10}
  83. Rotate(B, (5 * 36°), A) → B'_{11}
  84. Rotate(B, (6 * 36°), A) → B'_{12}
  85. Rotate(B, (7 * 36°), A) → B'_{13}
  86. Rotate(B, (8 * 36°), A) → B'_{14}
  87. Rotate(B, (9 * 36°), A) → B'_{15}
  88. CircleSector(A, B, B'_{7}) → h_1
  89. CircleSector(A, B, B'_{8}) → k_1
  90. Point(h') → K
  91. CircleSector(A, K, B'_{9}) → p_1
  92. CircleSector(A, K, B'_{10}) → q_1
  93. CircleSector(A, K, B'_{11}) → r_1
  94. CircleSector(A, K, B'_{12}) → s_1
  95. CircleSector(A, K, B'_{13}) → t_1
  96. CircleSector(A, K, B'_{14}) → c_2
  97. CircleSector(A, K, B'_{15}) → d_2
  98. Translate(c, (6, 0)) → c'
  99. Translate(nennersSegments, (6, 0)) → nennersSegments'
  100. Translate(c_1, (6, 0)) → c_1Versch
  101. Translate(c_2, (6, 0)) → c_2Versch
  102. Translate(d_1, (6, 0)) → d_1Versch
  103. Translate(d_2, (6, 0)) → d_2Versch
  104. Translate(e_1, (6, 0)) → e_1Versch
  105. Translate(f_1, (6, 0)) → f_1Versch
  106. Translate(g_1, (6, 0)) → g_1Versch
  107. Translate(h_1, (6, 0)) → h_1Versch
  108. Translate(k_1, (6, 0)) → k_1Versch
  109. Translate(p_1, (6, 0)) → p_1Versch
  110. Translate(q_1, (6, 0)) → q_1Versch
  111. Translate(r, (6, 0)) → rVersch
  112. Translate(r_1, (6, 0)) → r_1Versch
  113. Translate(s, (6, 0)) → sVersch
  114. Translate(t, (6, 0)) → tVersch
  115. Translate(t_1, (6, 0)) → t_1Versch
  116. Length(nennersSegments) → numberOfSectors
  117. CircleSector(N, L, M) → e_2

AI Drawing Prompt Reference

Draw a percent circle divided into sectors based on fractions. Start by drawing a circle, then divide it into sectors according to randomly generated percentages for fractions 4, 5, and 10. Randomly select a fraction and fill the corresponding sector with its percentage. Finally, adjust the color and size of the sectors based on the chosen fraction and percentage to complete the drawing.
The prompt above was compiled from the original drawing commands and is for reference only.