Filling Gumball Machines
Loading the math board and drawing, please wait…
In collections
Dividieren durch eine einstellige Zahl
This example demonstrates how to distribute a certain number of gumballs among multiple machines. The core mathematical concepts involved are division and distribution problems. Key construction points: Utilizes GeoGebra commands such as Join, Mod, Sequence, and objects like Point, Segment, SliderAnzahlAutomaten. Suitable for elementary school students in grades 5-6 to understand and practice division concepts.
GeoGebra Commands & Parameters
Join({{140}, Sequence[Random[10, 170], i, 1, 100]}) → randNosbMod(a, b) → RestSequence(B + (i * (dx, 0)), i, mindestAnzahlAutomaten, 9) → l1Point(l1) → SliderAnzahlAutomatenIndexOf(SliderAnzahlAutomaten, l1) → AnzahlAutomatenSuSIf(bb ≠ maxBB, C'1, C'2) → C'Segment(C', ZZ) → zzIf(page ≟ 1, (33.7, 1.91), (33.7, 5.91)) → pointPosKugelnTranspose({Automat1, Automat2, Automat3, Automat4, Automat5, Automat6, Automat7, Automat8, Automat9}) → TransponierteMatrxSequence(TransponierteMatrx(floor(i / b) + 1, Mod[i, b] + 1), i, 0, bb - 1) → ZielfunktionSequence(Circle[Zielfunktion(i + 1), radius], i, 0, bb) → KreiseReverse(Sequence[(x(pointPosKugeln) + Mod[i, KAnzahl], y(pointPosKugeln) - floor(i / KAnzahl)), i, 0, a - 1]) → RechteListeSequence(Circle[Zielfunktion((color * i) + 1), radius], i, 0, bb) → Z1Sequence(Circle[Zielfunktion((color * i) + 2), radius], i, 0, bb) → Z2Sequence(Circle[Zielfunktion((color * i) + 3), radius], i, 0, bb) → Z3Sequence(Circle[Zielfunktion((color * i) + 4), radius], i, 0, bb) → Z4Sequence(Circle[Zielfunktion((color * i) + 5), radius], i, 0, bb) → Z5Shuffle({color1, color2, color3, color4, color5}) → Colors, {"#39bcff", "#13961f", "#e02026", "#ffb400", "#ff004d5e"}Sequence(Circle[RechteListe((color * i) + 4), radius], i, test2, a) → R4Sequence(Circle[RechteListe((color * i) + 5), radius], i, test1, a) → R5Sequence(Circle[RechteListe((color * i) + 3), radius], i, test3, a) → R3Sequence(Circle[RechteListe((color * i) + 2), radius], i, test4, a) → R1Sequence(Circle[RechteListe((color * i) + 1), radius], i, test5, a) → R2Sequence(Circle[Hilfsfunktion(i), radius], i, 1, bb) → ZielfunktionKreiseOrthogonalLine(A, yAxis) → fSequence((x(PicL(i)) + Autbreite, y(PicL(i))), i, 1, 9) → PicRSequence(B + (i * (dx, 0)), i, 0, 9) → l3Point(Circle[B, Max[l3]]) → ESegment(l3(2), l3(10)) → gTextfield(input1) → Eingabefeld3Defined(input1) → fixedSliderLaTeX(Text5, true, true) → Text1LaTeX(page, true, true) → Text8If(page ≟ 1, bb ≟ M) → dIf(page ≟ 1, bb ≟ maxBB, page ≟ 2, showbtnNochmal ∧ c ≟ c, true) → fixed
AI Drawing Prompt Reference
Draw a gumball distribution scene: a row of vending machines at the top, each shown as a circle holding gumballs; a slider sets the number of machines, a random total of gumballs is generated and divided evenly among the machines with any remainder shown separately. Gumballs appear in five repeating colors arranged in a neat grid. An input box on the right lets students enter answers, and a “Try Again” button sits at the bottom. The layout is clear and suited for grades 5‑6 to practice division and distribution.
The prompt above was compiled from the original drawing commands and is for reference only.