Sharing Cookies - Decimals: Exploring Averages
Loading the math board and drawing, please wait…
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
Midpoint(Corner[Bild41, 1], Corner[Bild41, 3]) → MP_{Bild41}Midpoint(Corner[Bild40, 1], Corner[Bild40, 3]) → MP_{Bild40}Midpoint(Corner[Bild39, 1], Corner[Bild39, 3]) → MP_{Bild39}Midpoint(Corner[Bild38, 1], Corner[Bild38, 3]) → MP_{Bild38}Midpoint(Corner[Bild37, 1], Corner[Bild37, 3]) → MP_{Bild37}Midpoint(Corner[Bild36, 1], Corner[Bild36, 3]) → MP_{Bild36}Midpoint(Corner[Bild35, 1], Corner[Bild35, 3]) → MP_{Bild35}Midpoint(Corner[Bild34, 1], Corner[Bild34, 3]) → MP_{Bild34}Midpoint(Corner[Bild33, 1], Corner[Bild33, 3]) → MP_{Bild33}Midpoint(Corner[Bild32, 1], Corner[Bild32, 3]) → MP_{Bild32}Midpoint(Corner[Bild31, 1], Corner[Bild31, 3]) → MP_{Bild31}Midpoint(Corner[Bild30, 1], Corner[Bild30, 3]) → MP_{Bild30}Midpoint(Corner[Bild29, 1], Corner[Bild29, 3]) → MP_{Bild29}Midpoint(Corner[Bild28, 1], Corner[Bild28, 3]) → MP_{Bild28}Midpoint(Corner[Bild27, 1], Corner[Bild27, 3]) → MP_{Bild27}Midpoint(Corner[Bild26, 1], Corner[Bild26, 3]) → MP_{Bild26}Midpoint(Corner[Bild5, 1], Corner[Bild5, 3]) → MP_{Bild5}Midpoint(Corner[Bild4, 1], Corner[Bild4, 3]) → MP_{Bild4}Midpoint(Corner[Bild3, 1], Corner[Bild3, 3]) → MP_{Bild3}Midpoint(Corner[Bild2, 1], Corner[Bild2, 3]) → MP_{Bild2}Midpoint(Corner[Bild1, 1], Corner[Bild1, 3]) → MP_{Bild1}Ellipse(Q_{2}, R_{2}, S_{1}) → e2Ellipse(Q_{3}, R_{3}, S_{2}) → e3Ellipse(Q_{4}, R_{4}, S_{3}) → e4Ellipse(Q_{5}, R_{5}, S_{4}) → e5Ellipse(Q_{6}, R_{6}, S_{5}) → e6Midpoint(Corner[halbe5, 1], Corner[halbe5, 3]) → MP_{halbe5}Midpoint(Corner[halbe3, 1], Corner[halbe3, 3]) → MP_{halbe3}Midpoint(Corner[halbe1, 1], Corner[halbe1, 3]) → MP_{halbe1}Ellipse(Q, R, S) → e1Sequence(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}}Midpoint(Corner[halbe2, 1], Corner[halbe2, 3]) → MP_{halbe2}Midpoint(Corner[halbe4, 1], Corner[halbe4, 3]) → MP_{halbe4}Midpoint(Corner[halbe6, 1], Corner[halbe6, 3]) → MP_{halbe6}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}}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}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]]]]]]) → kinderZahlShuffle(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}Element(kekseAnzahl4Kinder, Mod[questionCount, 100] + 1) → kekse4KShuffle(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}Element(kekseAnzahl6Kinder, Mod[questionCount, 100] + 1) → kekse6KIf(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]]]]]]) → kTextfield(aInput) → InputBox1Textfield(bInput) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackAppend(true, Sequence[If[kinderAnzahl(i) ≟ kinderAnzahl(i - 1), false, true], i, 2, 100]) → stayXAppend(true, Sequence[If[kekseAnzahl4Kinder(i) ≟ kekseAnzahl4Kinder(i - 1), false, true], i, 2, 100]) → stayYRemove(Sequence[If[stayX(i), kinderAnzahl(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeatRemove(Sequence[If[stayY(i), kekseAnzahl4Kinder(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) → fixedCorner(Bild25, 1) → Q_1Distance(Q_1, R_1) → abstandQ1R1Midpoint(Corner[teller, 1], Corner[teller, 3]) → MP_{teller}Midpoint(Corner[k1, 1], Corner[k1, 3]) → MP_{k1}Midpoint(Corner[k2, 1], Corner[k2, 3]) → MP_{k2}Midpoint(Corner[k3, 1], Corner[k3, 3]) → MP_{k3}Midpoint(Corner[k4, 1], Corner[k4, 3]) → MP_{k4}Midpoint(Corner[k5, 1], Corner[k5, 3]) → MP_{k5}Midpoint(Corner[k6, 1], Corner[k6, 3]) → MP_{k6}Midpoint(Corner[t2, 1], Corner[t2, 3]) → MP_{t2}Midpoint(Corner[t3, 1], Corner[t3, 3]) → MP_{t3}Midpoint(Corner[t4, 1], Corner[t4, 3]) → MP_{t4}Midpoint(Corner[t5, 1], Corner[t5, 3]) → MP_{t5}Midpoint(Corner[t6, 1], Corner[t6, 3]) → MP_{t6}Midpoint(Corner[keks, 1], Corner[keks, 3]) → MP_{keks}Midpoint(Corner[Bild6, 1], Corner[Bild6, 3]) → MP_{Bild6}Midpoint(Corner[Bild7, 1], Corner[Bild7, 3]) → MP_{Bild7}Midpoint(Corner[Bild8, 1], Corner[Bild8, 3]) → MP_{Bild8}Midpoint(Corner[Bild9, 1], Corner[Bild9, 3]) → MP_{Bild9}Midpoint(Corner[Bild10, 1], Corner[Bild10, 3]) → MP_{Bild10}Midpoint(Corner[Bild11, 1], Corner[Bild11, 3]) → MP_{Bild11}Midpoint(Corner[Bild12, 1], Corner[Bild12, 3]) → MP_{Bild12}Midpoint(Corner[Bild13, 1], Corner[Bild13, 3]) → MP_{Bild13}Midpoint(Corner[Bild14, 1], Corner[Bild14, 3]) → MP_{Bild14}Midpoint(Corner[Bild15, 1], Corner[Bild15, 3]) → MP_{Bild15}Midpoint(Corner[Bild16, 1], Corner[Bild16, 3]) → MP_{Bild16}Midpoint(Corner[Bild17, 1], Corner[Bild17, 3]) → MP_{Bild17}Midpoint(Corner[Bild18, 1], Corner[Bild18, 3]) → MP_{Bild18}Midpoint(Corner[Bild19, 1], Corner[Bild19, 3]) → MP_{Bild19}Midpoint(Corner[Bild20, 1], Corner[Bild20, 3]) → MP_{Bild20}Midpoint(Corner[Bild21, 1], Corner[Bild21, 3]) → MP_{Bild21}Midpoint(Corner[Bild22, 1], Corner[Bild22, 3]) → MP_{Bild22}Midpoint(Corner[Bild23, 1], Corner[Bild23, 3]) → MP_{Bild23}Midpoint(Corner[Bild24, 1], Corner[Bild24, 3]) → MP_{Bild24}Midpoint(Corner[Bild25, 1], Corner[Bild25, 3]) → MP_{Bild25}IsInRegion(MP_{Bild1}, e1) → counterE11IsInRegion(MP_{Bild2}, e1) → counterE12IsInRegion(MP_{Bild3}, e1) → counterE13IsInRegion(MP_{Bild4}, e1) → counterE14IsInRegion(MP_{Bild5}, e1) → counterE15Corner(teller, 1) → E1_{teller}Corner(k1, 1) → E1_{k1}Corner(k2, 1) → E1_{k2}Corner(k3, 1) → E1_{k3}Corner(k4, 1) → E1_{k4}Corner(k5, 1) → E1_{k5}Corner(k6, 1) → E1_{k6}Corner(t2, 1) → E1_{t2}Corner(t3, 1) → E1_{t3}Corner(t4, 1) → E1_{t4}Corner(t5, 1) → E1_{t5}Corner(t6, 1) → E1_{t6}Corner(keks, 1) → E1_{keks}Corner(Bild6, 1) → E1_{Bild6}Corner(Bild7, 1) → E1_{Bild7}Corner(Bild8, 1) → E1_{Bild8}Corner(Bild9, 1) → E1_{Bild9}Corner(Bild10, 1) → E1_{Bild10}Corner(Bild11, 1) → E1_{Bild11}Corner(Bild12, 1) → E1_{Bild12}Corner(Bild13, 1) → E1_{Bild13}Corner(Bild14, 1) → E1_{Bild14}Corner(Bild15, 1) → E1_{Bild15}Corner(Bild16, 1) → E1_{Bild16}Corner(Bild17, 1) → E1_{Bild17}Corner(Bild18, 1) → E1_{Bild18}Corner(Bild19, 1) → E1_{Bild19}Corner(Bild20, 1) → E1_{Bild20}Corner(Bild21, 1) → E1_{Bild21}Corner(Bild22, 1) → E1_{Bild22}Corner(Bild23, 1) → E1_{Bild23}Corner(Bild24, 1) → E1_{Bild24}Corner(Bild25, 1) → E1_{Bild25}Corner(Bild1, 1) → E1_{Bild1}Corner(Bild2, 1) → E1_{Bild2}Corner(Bild3, 1) → E1_{Bild3}Corner(Bild4, 1) → E1_{Bild4}Corner(Bild5, 1) → E1_{Bild5}Corner(Bild26, 1) → E1_{Bild26}Corner(Bild27, 1) → E1_{Bild27}Corner(Bild28, 1) → E1_{Bild28}Corner(Bild29, 1) → E1_{Bild29}Corner(Bild30, 1) → E1_{Bild30}Corner(Bild31, 1) → E1_{Bild31}Corner(Bild32, 1) → E1_{Bild32}Corner(Bild33, 1) → E1_{Bild33}Corner(Bild34, 1) → E1_{Bild34}Corner(Bild35, 1) → E1_{Bild35}Corner(Bild36, 1) → E1_{Bild36}Corner(Bild37, 1) → E1_{Bild37}Corner(Bild38, 1) → E1_{Bild38}Corner(Bild39, 1) → E1_{Bild39}Corner(Bild40, 1) → E1_{Bild40}Corner(Bild41, 1) → E1_{Bild41}Corner(teller, 2) → E2_{teller}Corner(k1, 2) → E2_{k1}Corner(k2, 2) → E2_{k2}Corner(k3, 2) → E2_{k3}Corner(k4, 2) → E2_{k4}Corner(k5, 2) → E2_{k5}Corner(k6, 2) → E2_{k6}Corner(t2, 2) → E2_{t2}Corner(t3, 2) → E2_{t3}Corner(t4, 2) → E2_{t4}Corner(t5, 2) → E2_{t5}Corner(t6, 2) → E2_{t6}Corner(keks, 2) → E2_{keks}Corner(Bild6, 2) → E2_{Bild6}Corner(Bild7, 2) → E2_{Bild7}Corner(Bild8, 2) → E2_{Bild8}Corner(Bild9, 2) → E2_{Bild9}Corner(Bild10, 2) → E2_{Bild10}Corner(Bild11, 2) → E2_{Bild11}Corner(Bild12, 2) → E2_{Bild12}Corner(Bild13, 2) → E2_{Bild13}Corner(Bild14, 2) → E2_{Bild14}Corner(Bild15, 2) → E2_{Bild15}Corner(Bild16, 2) → E2_{Bild16}Corner(Bild17, 2) → E2_{Bild17}Corner(Bild18, 2) → E2_{Bild18}Corner(Bild19, 2) → E2_{Bild19}Corner(Bild20, 2) → E2_{Bild20}Corner(Bild21, 2) → E2_{Bild21}Corner(Bild22, 2) → E2_{Bild22}Corner(Bild23, 2) → E2_{Bild23}Corner(Bild24, 2) → E2_{Bild24}Corner(Bild25, 2) → E2_{Bild25}Corner(Bild1, 2) → E2_{Bild1}Corner(Bild2, 2) → E2_{Bild2}Corner(Bild3, 2) → E2_{Bild3}Corner(Bild4, 2) → E2_{Bild4}Corner(Bild5, 2) → E2_{Bild5}Corner(Bild26, 2) → E2_{Bild26}Corner(Bild27, 2) → E2_{Bild27}Corner(Bild28, 2) → E2_{Bild28}Corner(Bild29, 2) → E2_{Bild29}Corner(Bild30, 2) → E2_{Bild30}Corner(Bild31, 2) → E2_{Bild31}Corner(Bild32, 2) → E2_{Bild32}Corner(Bild33, 2) → E2_{Bild33}Corner(Bild34, 2) → E2_{Bild34}Corner(Bild35, 2) → E2_{Bild35}Corner(Bild36, 2) → E2_{Bild36}Corner(Bild37, 2) → E2_{Bild37}Corner(Bild38, 2) → E2_{Bild38}Corner(Bild39, 2) → E2_{Bild39}Corner(Bild40, 2) → E2_{Bild40}Corner(Bild41, 2) → E2_{Bild41}Polygon(Z, A_1, B_1, C_1, D_1) → middlePoly, z_1, a_1, b_1, c_1, d_1Sequence(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}}CountIf(x > 0, poly1) → zähleMiddlePolyIf(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]]]]]]]]]]) → inProKindPolygon(E_1, F_1, G_1, H_1) → whitePolyMiddle, e_1, f_1, g_1, h_1Distance(halbeL1, halbeR1) → abstandhalbeL1halbeR1Append(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.