Sharing Cookies - Decimals: Exploring Averages

Sharing Cookies - Decimals: Exploring Averages
Loading the math board and drawing, please wait…
2022-08-08 09:01
In collections Statistische Kenngrößen
This GeoGebra example uses a real-life cookie-sharing scenario to guide students in exploring the concept of averages, including decimal operations. The core mathematical concepts are arithmetic mean, mode, and median, along with solving distribution problems through calculation. The construction uses commands such as Midpoint, Ellipse, Sequence, Shuffle, If, Element, Textfield, Polygon, Append, Remove, Defined, Corner, Distance, IsInRegion, and CountIf, creating multiple image objects (Bild2 to Bild41) with their corresponding midpoints to visualize the cookie distribution. It is suitable for grades 5-6 in statistics and probability, featuring open-ended questions (e.g., 'How to calculate the distribution?', 'How to handle leftover cookies?', 'Is Milo correct?') to stimulate critical thinking and data interpretation skills.

GeoGebra Commands & Parameters

  1. Midpoint(Corner[Bild41, 1], Corner[Bild41, 3]) → MP_{Bild41}
  2. Midpoint(Corner[Bild40, 1], Corner[Bild40, 3]) → MP_{Bild40}
  3. Midpoint(Corner[Bild39, 1], Corner[Bild39, 3]) → MP_{Bild39}
  4. Midpoint(Corner[Bild38, 1], Corner[Bild38, 3]) → MP_{Bild38}
  5. Midpoint(Corner[Bild37, 1], Corner[Bild37, 3]) → MP_{Bild37}
  6. Midpoint(Corner[Bild36, 1], Corner[Bild36, 3]) → MP_{Bild36}
  7. Midpoint(Corner[Bild35, 1], Corner[Bild35, 3]) → MP_{Bild35}
  8. Midpoint(Corner[Bild34, 1], Corner[Bild34, 3]) → MP_{Bild34}
  9. Midpoint(Corner[Bild33, 1], Corner[Bild33, 3]) → MP_{Bild33}
  10. Midpoint(Corner[Bild32, 1], Corner[Bild32, 3]) → MP_{Bild32}
  11. Midpoint(Corner[Bild31, 1], Corner[Bild31, 3]) → MP_{Bild31}
  12. Midpoint(Corner[Bild30, 1], Corner[Bild30, 3]) → MP_{Bild30}
  13. Midpoint(Corner[Bild29, 1], Corner[Bild29, 3]) → MP_{Bild29}
  14. Midpoint(Corner[Bild28, 1], Corner[Bild28, 3]) → MP_{Bild28}
  15. Midpoint(Corner[Bild27, 1], Corner[Bild27, 3]) → MP_{Bild27}
  16. Midpoint(Corner[Bild26, 1], Corner[Bild26, 3]) → MP_{Bild26}
  17. Midpoint(Corner[Bild5, 1], Corner[Bild5, 3]) → MP_{Bild5}
  18. Midpoint(Corner[Bild4, 1], Corner[Bild4, 3]) → MP_{Bild4}
  19. Midpoint(Corner[Bild3, 1], Corner[Bild3, 3]) → MP_{Bild3}
  20. Midpoint(Corner[Bild2, 1], Corner[Bild2, 3]) → MP_{Bild2}
  21. Midpoint(Corner[Bild1, 1], Corner[Bild1, 3]) → MP_{Bild1}
  22. Ellipse(Q_{2}, R_{2}, S_{1}) → e2
  23. Ellipse(Q_{3}, R_{3}, S_{2}) → e3
  24. Ellipse(Q_{4}, R_{4}, S_{3}) → e4
  25. Ellipse(Q_{5}, R_{5}, S_{4}) → e5
  26. Ellipse(Q_{6}, R_{6}, S_{5}) → e6
  27. Midpoint(Corner[halbe5, 1], Corner[halbe5, 3]) → MP_{halbe5}
  28. Midpoint(Corner[halbe3, 1], Corner[halbe3, 3]) → MP_{halbe3}
  29. Midpoint(Corner[halbe1, 1], Corner[halbe1, 3]) → MP_{halbe1}
  30. Ellipse(Q, R, S) → e1
  31. Sequence(Sequence[IsInRegion[Element[MP, i], Element[region, j]], i, 1, Length[MP]], j, 1, Length[region]) → p, {{false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false}}
  32. Midpoint(Corner[halbe2, 1], Corner[halbe2, 3]) → MP_{halbe2}
  33. Midpoint(Corner[halbe4, 1], Corner[halbe4, 3]) → MP_{halbe4}
  34. Midpoint(Corner[halbe6, 1], Corner[halbe6, 3]) → MP_{halbe6}
  35. Sequence(Sequence[IsInRegion[Element[MP_{halbe}, i], Element[region, j]], i, 1, Length[MP_{halbe}]], j, 1, Length[region]) → p_2, {{false, false, false, false, false, false}, {false, false, false, false, false, false}, {false, false, false, false, false, false}, {false, false, false, false, false, false}, {false, false, false, false, false, false}, {false, false, false, false, false, false}}
  36. Shuffle(Sequence[RandomElement[{4, 6}], i, 1, 100]) → kinderAnzahl, {4, 6, 6, 4, 6, 4, 4, 6, 4, 6, 4, 6, 4, 4, 4, 6, 6, 6, 6, 4, 4, 4, 6, 4, 6, 6, 6, 4, 6, 6, 4, 4, 6, 4, 4, 6, 6, 4, 4, 6, 4, 4, 4, 4, 6, 6, 6, 6, 6, 4, 6, 4, 4, 6, 6, 4, 4, 4, 6, 4, 4, 6, 6, 6, 6, 6, 4, 6, 4, 4, 4, 4, 6, 4, 6, 4, 4, 6, 4, 4, 6, 6, 4, 6, 6, 4, 4, 6, 4, 4, 6, 6, 4, 4, 4, 4, 6, 4, 6, 4}
  37. If(questionCount ≟ 0, 4, If[questionCount ≟ 1, 6, If[questionCount ≟ 2, 4, If[questionCount ≟ 3, 6, If[questionCount ≟ 4, 4, If[questionCount > 1, Element[kinderAnzahl, Mod[questionCount, 100] + 1]]]]]]) → kinderZahl
  38. Shuffle(Sequence[RandomElement[{4, 8, 10, 12, 14}], i, 1, 100]) → kekseAnzahl4Kinder, {4, 12, 12, 14, 14, 10, 14, 10, 14, 8, 10, 12, 8, 12, 10, 10, 10, 8, 12, 4, 12, 4, 10, 8, 4, 4, 8, 8, 10, 12, 4, 4, 10, 10, 14, 12, 14, 14, 14, 4, 10, 14, 12, 14, 10, 10, 14, 12, 12, 8, 4, 12, 8, 14, 8, 10, 8, 8, 8, 8, 14, 4, 10, 14, 12, 8, 4, 8, 8, 14, 4, 8, 12, 12, 4, 8, 10, 10, 10, 12, 10, 14, 12, 10, 10, 4, 12, 12, 4, 12, 8, 4, 14, 12, 10, 4, 4, 4, 12, 10}
  39. Element(kekseAnzahl4Kinder, Mod[questionCount, 100] + 1) → kekse4K
  40. Shuffle(Sequence[RandomElement[{6, 9, 12, 15, 18, 21}], i, 1, 100]) → kekseAnzahl6Kinder, {6, 12, 18, 15, 21, 6, 12, 21, 6, 9, 21, 21, 9, 21, 15, 6, 21, 12, 12, 15, 18, 15, 12, 9, 6, 9, 6, 9, 18, 18, 21, 18, 18, 6, 18, 9, 12, 6, 6, 15, 9, 15, 6, 18, 18, 12, 18, 21, 15, 6, 6, 9, 15, 18, 6, 18, 21, 21, 21, 21, 9, 6, 9, 12, 12, 6, 12, 15, 21, 18, 6, 18, 15, 6, 6, 9, 18, 6, 18, 18, 18, 12, 18, 18, 9, 6, 15, 21, 21, 18, 21, 21, 9, 6, 21, 21, 9, 18, 15, 6}
  41. Element(kekseAnzahl6Kinder, Mod[questionCount, 100] + 1) → kekse6K
  42. If(questionCount ≟ 0, 4, If[questionCount ≟ 1, 15, If[questionCount ≟ 2, 14, If[questionCount ≟ 3, 6, If[questionCount ≟ 4, 8, If[kinderZahl ≟ 6, kekse6K, If[kinderZahl ≟ 4, kekse4K]]]]]]) → k
  43. Textfield(aInput) → InputBox1
  44. Textfield(bInput) → InputBox2
  45. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  46. Append(true, Sequence[If[kinderAnzahl(i) ≟ kinderAnzahl(i - 1), false, true], i, 2, 100]) → stayX
  47. Append(true, Sequence[If[kekseAnzahl4Kinder(i) ≟ kekseAnzahl4Kinder(i - 1), false, true], i, 2, 100]) → stayY
  48. Remove(Sequence[If[stayX(i), kinderAnzahl(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  49. Remove(Sequence[If[stayY(i), kekseAnzahl4Kinder(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  50. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  51. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  52. Defined(aInput) → fixed
  53. Corner(Bild25, 1) → Q_1
  54. Distance(Q_1, R_1) → abstandQ1R1
  55. Midpoint(Corner[teller, 1], Corner[teller, 3]) → MP_{teller}
  56. Midpoint(Corner[k1, 1], Corner[k1, 3]) → MP_{k1}
  57. Midpoint(Corner[k2, 1], Corner[k2, 3]) → MP_{k2}
  58. Midpoint(Corner[k3, 1], Corner[k3, 3]) → MP_{k3}
  59. Midpoint(Corner[k4, 1], Corner[k4, 3]) → MP_{k4}
  60. Midpoint(Corner[k5, 1], Corner[k5, 3]) → MP_{k5}
  61. Midpoint(Corner[k6, 1], Corner[k6, 3]) → MP_{k6}
  62. Midpoint(Corner[t2, 1], Corner[t2, 3]) → MP_{t2}
  63. Midpoint(Corner[t3, 1], Corner[t3, 3]) → MP_{t3}
  64. Midpoint(Corner[t4, 1], Corner[t4, 3]) → MP_{t4}
  65. Midpoint(Corner[t5, 1], Corner[t5, 3]) → MP_{t5}
  66. Midpoint(Corner[t6, 1], Corner[t6, 3]) → MP_{t6}
  67. Midpoint(Corner[keks, 1], Corner[keks, 3]) → MP_{keks}
  68. Midpoint(Corner[Bild6, 1], Corner[Bild6, 3]) → MP_{Bild6}
  69. Midpoint(Corner[Bild7, 1], Corner[Bild7, 3]) → MP_{Bild7}
  70. Midpoint(Corner[Bild8, 1], Corner[Bild8, 3]) → MP_{Bild8}
  71. Midpoint(Corner[Bild9, 1], Corner[Bild9, 3]) → MP_{Bild9}
  72. Midpoint(Corner[Bild10, 1], Corner[Bild10, 3]) → MP_{Bild10}
  73. Midpoint(Corner[Bild11, 1], Corner[Bild11, 3]) → MP_{Bild11}
  74. Midpoint(Corner[Bild12, 1], Corner[Bild12, 3]) → MP_{Bild12}
  75. Midpoint(Corner[Bild13, 1], Corner[Bild13, 3]) → MP_{Bild13}
  76. Midpoint(Corner[Bild14, 1], Corner[Bild14, 3]) → MP_{Bild14}
  77. Midpoint(Corner[Bild15, 1], Corner[Bild15, 3]) → MP_{Bild15}
  78. Midpoint(Corner[Bild16, 1], Corner[Bild16, 3]) → MP_{Bild16}
  79. Midpoint(Corner[Bild17, 1], Corner[Bild17, 3]) → MP_{Bild17}
  80. Midpoint(Corner[Bild18, 1], Corner[Bild18, 3]) → MP_{Bild18}
  81. Midpoint(Corner[Bild19, 1], Corner[Bild19, 3]) → MP_{Bild19}
  82. Midpoint(Corner[Bild20, 1], Corner[Bild20, 3]) → MP_{Bild20}
  83. Midpoint(Corner[Bild21, 1], Corner[Bild21, 3]) → MP_{Bild21}
  84. Midpoint(Corner[Bild22, 1], Corner[Bild22, 3]) → MP_{Bild22}
  85. Midpoint(Corner[Bild23, 1], Corner[Bild23, 3]) → MP_{Bild23}
  86. Midpoint(Corner[Bild24, 1], Corner[Bild24, 3]) → MP_{Bild24}
  87. Midpoint(Corner[Bild25, 1], Corner[Bild25, 3]) → MP_{Bild25}
  88. IsInRegion(MP_{Bild1}, e1) → counterE11
  89. IsInRegion(MP_{Bild2}, e1) → counterE12
  90. IsInRegion(MP_{Bild3}, e1) → counterE13
  91. IsInRegion(MP_{Bild4}, e1) → counterE14
  92. IsInRegion(MP_{Bild5}, e1) → counterE15
  93. Corner(teller, 1) → E1_{teller}
  94. Corner(k1, 1) → E1_{k1}
  95. Corner(k2, 1) → E1_{k2}
  96. Corner(k3, 1) → E1_{k3}
  97. Corner(k4, 1) → E1_{k4}
  98. Corner(k5, 1) → E1_{k5}
  99. Corner(k6, 1) → E1_{k6}
  100. Corner(t2, 1) → E1_{t2}
  101. Corner(t3, 1) → E1_{t3}
  102. Corner(t4, 1) → E1_{t4}
  103. Corner(t5, 1) → E1_{t5}
  104. Corner(t6, 1) → E1_{t6}
  105. Corner(keks, 1) → E1_{keks}
  106. Corner(Bild6, 1) → E1_{Bild6}
  107. Corner(Bild7, 1) → E1_{Bild7}
  108. Corner(Bild8, 1) → E1_{Bild8}
  109. Corner(Bild9, 1) → E1_{Bild9}
  110. Corner(Bild10, 1) → E1_{Bild10}
  111. Corner(Bild11, 1) → E1_{Bild11}
  112. Corner(Bild12, 1) → E1_{Bild12}
  113. Corner(Bild13, 1) → E1_{Bild13}
  114. Corner(Bild14, 1) → E1_{Bild14}
  115. Corner(Bild15, 1) → E1_{Bild15}
  116. Corner(Bild16, 1) → E1_{Bild16}
  117. Corner(Bild17, 1) → E1_{Bild17}
  118. Corner(Bild18, 1) → E1_{Bild18}
  119. Corner(Bild19, 1) → E1_{Bild19}
  120. Corner(Bild20, 1) → E1_{Bild20}
  121. Corner(Bild21, 1) → E1_{Bild21}
  122. Corner(Bild22, 1) → E1_{Bild22}
  123. Corner(Bild23, 1) → E1_{Bild23}
  124. Corner(Bild24, 1) → E1_{Bild24}
  125. Corner(Bild25, 1) → E1_{Bild25}
  126. Corner(Bild1, 1) → E1_{Bild1}
  127. Corner(Bild2, 1) → E1_{Bild2}
  128. Corner(Bild3, 1) → E1_{Bild3}
  129. Corner(Bild4, 1) → E1_{Bild4}
  130. Corner(Bild5, 1) → E1_{Bild5}
  131. Corner(Bild26, 1) → E1_{Bild26}
  132. Corner(Bild27, 1) → E1_{Bild27}
  133. Corner(Bild28, 1) → E1_{Bild28}
  134. Corner(Bild29, 1) → E1_{Bild29}
  135. Corner(Bild30, 1) → E1_{Bild30}
  136. Corner(Bild31, 1) → E1_{Bild31}
  137. Corner(Bild32, 1) → E1_{Bild32}
  138. Corner(Bild33, 1) → E1_{Bild33}
  139. Corner(Bild34, 1) → E1_{Bild34}
  140. Corner(Bild35, 1) → E1_{Bild35}
  141. Corner(Bild36, 1) → E1_{Bild36}
  142. Corner(Bild37, 1) → E1_{Bild37}
  143. Corner(Bild38, 1) → E1_{Bild38}
  144. Corner(Bild39, 1) → E1_{Bild39}
  145. Corner(Bild40, 1) → E1_{Bild40}
  146. Corner(Bild41, 1) → E1_{Bild41}
  147. Corner(teller, 2) → E2_{teller}
  148. Corner(k1, 2) → E2_{k1}
  149. Corner(k2, 2) → E2_{k2}
  150. Corner(k3, 2) → E2_{k3}
  151. Corner(k4, 2) → E2_{k4}
  152. Corner(k5, 2) → E2_{k5}
  153. Corner(k6, 2) → E2_{k6}
  154. Corner(t2, 2) → E2_{t2}
  155. Corner(t3, 2) → E2_{t3}
  156. Corner(t4, 2) → E2_{t4}
  157. Corner(t5, 2) → E2_{t5}
  158. Corner(t6, 2) → E2_{t6}
  159. Corner(keks, 2) → E2_{keks}
  160. Corner(Bild6, 2) → E2_{Bild6}
  161. Corner(Bild7, 2) → E2_{Bild7}
  162. Corner(Bild8, 2) → E2_{Bild8}
  163. Corner(Bild9, 2) → E2_{Bild9}
  164. Corner(Bild10, 2) → E2_{Bild10}
  165. Corner(Bild11, 2) → E2_{Bild11}
  166. Corner(Bild12, 2) → E2_{Bild12}
  167. Corner(Bild13, 2) → E2_{Bild13}
  168. Corner(Bild14, 2) → E2_{Bild14}
  169. Corner(Bild15, 2) → E2_{Bild15}
  170. Corner(Bild16, 2) → E2_{Bild16}
  171. Corner(Bild17, 2) → E2_{Bild17}
  172. Corner(Bild18, 2) → E2_{Bild18}
  173. Corner(Bild19, 2) → E2_{Bild19}
  174. Corner(Bild20, 2) → E2_{Bild20}
  175. Corner(Bild21, 2) → E2_{Bild21}
  176. Corner(Bild22, 2) → E2_{Bild22}
  177. Corner(Bild23, 2) → E2_{Bild23}
  178. Corner(Bild24, 2) → E2_{Bild24}
  179. Corner(Bild25, 2) → E2_{Bild25}
  180. Corner(Bild1, 2) → E2_{Bild1}
  181. Corner(Bild2, 2) → E2_{Bild2}
  182. Corner(Bild3, 2) → E2_{Bild3}
  183. Corner(Bild4, 2) → E2_{Bild4}
  184. Corner(Bild5, 2) → E2_{Bild5}
  185. Corner(Bild26, 2) → E2_{Bild26}
  186. Corner(Bild27, 2) → E2_{Bild27}
  187. Corner(Bild28, 2) → E2_{Bild28}
  188. Corner(Bild29, 2) → E2_{Bild29}
  189. Corner(Bild30, 2) → E2_{Bild30}
  190. Corner(Bild31, 2) → E2_{Bild31}
  191. Corner(Bild32, 2) → E2_{Bild32}
  192. Corner(Bild33, 2) → E2_{Bild33}
  193. Corner(Bild34, 2) → E2_{Bild34}
  194. Corner(Bild35, 2) → E2_{Bild35}
  195. Corner(Bild36, 2) → E2_{Bild36}
  196. Corner(Bild37, 2) → E2_{Bild37}
  197. Corner(Bild38, 2) → E2_{Bild38}
  198. Corner(Bild39, 2) → E2_{Bild39}
  199. Corner(Bild40, 2) → E2_{Bild40}
  200. Corner(Bild41, 2) → E2_{Bild41}
  201. Polygon(Z, A_1, B_1, C_1, D_1) → middlePoly, z_1, a_1, b_1, c_1, d_1
  202. Sequence(Sequence[IsInRegion[Element[MP, i], Element[middleRegion, j]], i, 1, Length[MP]], j, 1, Length[middleRegion]) → p_1, {{true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true}}
  203. CountIf(x > 0, poly1) → zähleMiddlePoly
  204. If(k ≟ 4, 1, If[k ≟ 6, 1, If[k ≟ 8, 2, If[k ≟ 10, 2.5, If[k ≟ 12 ∧ kinderZahl ≟ 4, 3, If[k ≟ 14, 3.5, If[k ≟ 9, 1.5, If[k ≟ 12 ∧ kinderZahl ≟ 6, 2, If[k ≟ 15, 2.5, If[k ≟ 18, 3, If[k ≟ 21, 3.5]]]]]]]]]]) → inProKind
  205. Polygon(E_1, F_1, G_1, H_1) → whitePolyMiddle, e_1, f_1, g_1, h_1
  206. Distance(halbeL1, halbeR1) → abstandhalbeL1halbeR1
  207. Append(CounterE, counterE15) → counterE1

AI Drawing Prompt Reference

Draw a math scene about sharing cookies: multiple elliptical regions represent plates or groups, each containing scattered cookie shapes (ellipses or circles) in varying counts, with some cookies marked as halves to show decimals. The layout includes several such regions, each with an input box for numbers and a feedback rectangle showing correctness. Sliders or buttons control question numbers, and background may include hint text. Construction order: first draw all elliptical regions, then place cookie shapes in each region, compute their centers, and finally add input boxes and feedback areas.
The prompt above was compiled from the original drawing commands and is for reference only.