Distribute Money 2
Loading the math board and drawing, please wait…
In collections
Dividieren durch eine einstellige Zahl
This example demonstrates how to use a money exchange machine to evenly distribute an amount of money into multiple wallets. The core mathematical concepts involved include division and natural numbers. Key construction points: Utilizes GeoGebra commands such as Polygon, CountIf, Flatten, Translate, Join, If, Sequence, Min, Textfield, Shuffle, Element, Append, Point, Length, Zip, Sum, and objects like showButtonValidateGrauAfterTryAgain, Maschine1, V01, V02. Suitable for middle or high school students to learn and practice solving distribution problems.
GeoGebra Commands & Parameters
Polygon(V01, (x(V01), y(V02)), V02, (x(V02), y(V01))) → v0, f, g, h, kCountIf(P ∈ v0, P, RemoveUndefined[{MG1, MG2, MG3, MG4, MG5, MG6, MG7, MG8, MG9, MG10, MG11, MG12, MG13, MG14, MG15, MG16, MG17, MG18, MG19, MG20, MG21, MG22}]) → inv02CountIf(P ∈ v0, P, RemoveUndefined[{MH1, MH2, MH3, MH4, MH5, MH6, MH7, MH8, MH9, MH10, MH11, MH12, MH13, MH14, MH15, MH16, MH17, MH18, MH19, MH20, MH21, MH22}]) → inv01CountIf(P ∈ v0, P, RemoveUndefined[{MF1, MF2, MF3, MF4, MF5, MF6, MF7, MF8, MF9, MF10, MF11, MF12, MF13, MF14, MF15, MF16, MF17, MF18, MF19, MF20, MF21, MF22}]) → inv05CountIf(P ∈ v0, P, RemoveUndefined[{ME1, ME2, ME3, ME4, ME5, ME6, ME7, ME8, ME9, ME10, ME11, ME12, ME13, ME14, ME15, ME16, ME17, ME18, ME19, ME20, ME21, ME22, ME23, ME24, ME25, ME26, ME27}]) → inv010CountIf(P ∈ v0, P, RemoveUndefined[{MD1, MD2, MD3, MD4, MD5, MD6, MD7, MD8, MD9, MD10, MD11, MD12, MD13, MD14, MD15, MD16, MD17, MD18, MD19, MD20, MD21, MD22, MD23, MD24, MD25, MD26, MD27}]) → inv020CountIf(P ∈ v0, P, RemoveUndefined[{MC1, MC2, MC3, MC4, MC5, MC6, MC7, MC8, MC9, MC10, MC11, MC12}]) → inv050Flatten(Sequence[Sequence[BagPoint + (m * (bagsizex + 0.1, 0)) + (j * (0, bagsizey + 0.1)), m, 0, 2], j, 0, 2]) → listBagPointsTranslate(Polygon[(0, 0), (bagsizex, 0), (bagsizex, bagsizey), (0, bagsizey)], listBagPoints(2)) → v2Translate(Polygon[(0, 0), (bagsizex, 0), (bagsizex, bagsizey), (0, bagsizey)], listBagPoints(3)) → v3Translate(Polygon[(0, 0), (bagsizex, 0), (bagsizex, bagsizey), (0, bagsizey)], listBagPoints(4)) → v4Translate(Polygon[(0, 0), (bagsizex, 0), (bagsizex, bagsizey), (0, bagsizey)], listBagPoints(5)) → v5Translate(Polygon[(0, 0), (bagsizex, 0), (bagsizex, bagsizey), (0, bagsizey)], listBagPoints(6)) → v6Translate(Polygon[(0, 0), (bagsizex, 0), (bagsizex, bagsizey), (0, bagsizey)], listBagPoints(7)) → v7Translate(Polygon[(0, 0), (bagsizex, 0), (bagsizex, bagsizey), (0, bagsizey)], listBagPoints(8)) → v8Translate(Polygon[(0, 0), (bagsizex, 0), (bagsizex, bagsizey), (0, bagsizey)], listBagPoints(9)) → v9Translate(Polygon[(0, 0), (bagsizex, 0), (bagsizex, bagsizey), (0, bagsizey)], listBagPoints(1)) → v1CountIf(P ∈ v0, P, RemoveUndefined[{MA1, MA2, MA3, MA4, MA5, MA6}]) → inv0200CountIf(P ∈ v0, P, RemoveUndefined[{MB1, MB2, MB3, MB4, MB5, MB6, MB7, MB8, MB9, MB10, MB11, MB12}]) → inv0100Join({{3}, Shuffle[Sequence[1, maxexnum] \ {3}], Join[Sequence[Shuffle[Sequence[1, maxexnum]], m, 1, floor(110 / maxexnum)]]}) → listExNumsIf(startpage, 9, listExNums(Mod[questionCount, 100] + 1)) → exnumSequence(Element[{inV1, inV2, inV3, inV4, inV5, inV6, inV7, inV8, inV9}, m], m, 1, numBeutel) → listVsSequence(PS + ((m * absscheinex) + 0.2, 0), m, 0, 4) → listPSBeginFlatten(Sequence[Sequence[PS + (m * (absscheinex + 0.2, 0)) - (j * (0, (1.2 * picheight200))), m, 0, 4], j, 0, 3]) → listPSExercisePolygon(PBild1, (x(PBild1), y(PBild2)), PBild2, (x(PBild2), y(PBild1))) → vBild, a_1, i, b_2, jIf(b ≤ 2, Min[{floor((num - (num200 * 200)) / 100), max100}], 0) → num100If(b ≤ 5, Min[{floor((num - (num200 * 200) - (num100 * 100) - (num50 * 50) - (num20 * 20)) / 10), max10}], 0) → num10Min({floor((num - (num200 * 200) - (num100 * 100) - (num50 * 50) - (num20 * 20) - (num10 * 10) - (num5 * 5) - (num2 * 2)) / 1), max1}) → num1Textfield(input1) → Eingabefeld1Textfield(input2) → Eingabefeld2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, rectangleCorrectS3, rectangleCorrectS4, rectangleCorrectS2, rectangleCorrectS1Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {10, 5, 5, 10, 10, 2, 2, 6, 5, 3, 2, 5, 10, 3, 2, 1, 8, 7, 8, 8, 9, 6, 7, 0, 1, 1, 7, 7, 0, 9, 3, 1, 1, 4, 5, 8, 0, 0, 8, 4, 1, 10, 7, 0, 1, 3, 1, 6, 2, 2, 1, 0, 0, 1, 3, 9, 6, 10, 9, 5, 3, 4, 10, 9, 8, 8, 5, 4, 10, 10, 9, 7, 8, 5, 2, 2, 3, 5, 10, 1, 10, 10, 5, 0, 5, 8, 8, 0, 6, 10, 8, 4, 2, 7, 5, 4, 3, 3, 2, 6}Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {0, 9, 4, 9, 10, 9, 0, 8, 1, 10, 3, 10, 6, 4, 0, 2, 7, 0, 3, 10, 9, 5, 3, 7, 4, 4, 10, 0, 4, 2, 10, 9, 6, 0, 2, 8, 4, 4, 1, 3, 7, 2, 4, 10, 9, 10, 5, 2, 10, 9, 3, 5, 0, 6, 3, 7, 3, 1, 8, 6, 6, 5, 9, 7, 8, 5, 2, 6, 2, 3, 2, 3, 9, 3, 9, 0, 6, 9, 0, 1, 9, 10, 8, 1, 7, 7, 9, 1, 1, 2, 0, 3, 0, 2, 8, 0, 7, 7, 10, 8}Element(randomNosForY, Mod[questionCount, 100] + 1) → numYAppend(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayXPoint(Line[Maschine1, xAxis]) → Maschine2Textfield(num) → Eingabefeld0Flatten(Sequence[Sequence[PC + (m * (absscheinex, 0)) - (j * (0, (0.8 * absscheiney))), j, 0, 8], m, 0, 2]) → listPCLength(listPC) → lengthPCSequence(listPC(m), m, 1, listChange(2)) → listPC200Sequence(Element[Remove[listPC, listPC200], m], m, 1, listChange(3)) → listPC100Sequence(Element[Remove[listPC, Join[{listPC200, listPC100}]], m], m, 1, listChange(4)) → listPC50Sequence(Element[Remove[listPC, Join[{listPC200, listPC100, listPC50}]], m], m, 1, listChange(5)) → listPC20Sequence(Element[Remove[listPC, Join[{listPC200, listPC100, listPC50, listPC20}]], m], m, 1, listChange(6)) → listPC10Sequence(Element[Remove[listPC, Join[{listPC200, listPC100, listPC50, listPC20, listPC10}]], m], m, 1, listChange(7)) → listPC5Sequence(Element[Remove[listPC, Join[{listPC200, listPC100, listPC50, listPC20, listPC10, listPC5}]], m], m, 1, listChange(8)) → listPC2Sequence(Element[Remove[listPC, Join[{listPC200, listPC100, listPC50, listPC20, listPC10, listPC5, listPC2}]], m], m, 1, listChange(9)) → listPC1If(startpage, listPSBegin, listPSExercise) → listPSSequence(listPS(m), m, 1, listStart(1)) → listPS200Sequence(Element[Remove[listPS, listPS200], m], m, 1, listStart(2)) → listPS100CountIf(P ∈ vBild, P, RemoveUndefined[{MH1, MH2, MH3, MH4, MH5, MH6, MH7, MH8, MH9, MH10, MH11, MH12, MH13, MH14, MH15, MH16, MH17, MH18, MH19, MH20, MH21, MH22}]) → inBild1CountIf(P ∈ vBild, P, RemoveUndefined[{MF1, MF2, MF3, MF4, MF5, MF6, MF7, MF8, MF9, MF10, MF11, MF12, MF13, MF14, MF15, MF16, MF17, MF18, MF19, MF20, MF21, MF22}]) → inBild5CountIf(P ∈ vBild, P, RemoveUndefined[{ME1, ME2, ME3, ME4, ME5, ME6, ME7, ME8, ME9, ME10, ME11, ME12, ME13, ME14, ME15, ME16, ME17, ME18, ME19, ME20, ME21, ME22, ME23, ME24, ME25, ME26, ME27}]) → inBild10CountIf(P ∈ vBild, P, RemoveUndefined[{MD1, MD2, MD3, MD4, MD5, MD6, MD7, MD8, MD9, MD10, MD11, MD12, MD13, MD14, MD15, MD16, MD17, MD18, MD19, MD20, MD21, MD22, MD23, MD24, MD25, MD26, MD27}]) → inBild20CountIf(P ∈ vBild, P, RemoveUndefined[{MC1, MC2, MC3, MC4, MC5, MC6, MC7, MC8, MC9, MC10, MC11, MC12}]) → inBild50CountIf(P ∈ vBild, P, RemoveUndefined[{MB1, MB2, MB3, MB4, MB5, MB6, MB7, MB8, MB9, MB10, MB11, MB12}]) → inBild100CountIf(P ∈ vBild, P, RemoveUndefined[{MA1, MA2, MA3, MA4, MA5, MA6}]) → inBild200CountIf(P ∈ vBild, P, RemoveUndefined[{MG1, MG2, MG3, MG4, MG5, MG6, MG7, MG8, MG9, MG10, MG11, MG12, MG13, MG14, MG15, MG16, MG17, MG18, MG19, MG20, MG21, MG22}]) → inBild2Polygon(VA1, (x(VA1), y(VA2)), VA2, (x(VA2), y(VA1))) → vAusgabe, va1, l, va2, mCountIf(Defined[P] ∧ P ∈ vAusgabe, P, {MA1, MA2, MA3, MA4, MA5, MA6, MB1, MB2, MB3, MB4, MB5, MB11, MB12, MC1, MC2, MC3, MC4, MC5, MC6, MC7, MC8, MC9, MC10, MC11, MC12, MD1, MD2, MD3, MD4, MD5, MD6, MD7, MD8, MD9, MD10, MD11, MD12, MD13, MD14, MD15, MD16, MD17, MD18, MD19, MD20, MD21, MD22, MD23, MD24, MD25, MD26, MD27, ME1, ME2, ME3, ME4, ME5, ME6, ME7, ME8, ME9, ME10, ME11, ME12, ME13, ME14, ME15, ME16, ME17, ME18, ME19, ME20, ME21, ME22, ME23, ME24, ME25, ME26, ME27, MF1, MF2, MF3, MF4, MF5, MF6, MF7, MF8, MF9, MF10, MF11, MF12, MF13, MF14, MF15, MF16, MF17, MF18, MF19, MF20, MF21, MF22, MG1, MG2, MG3, MG4, MG5, MG6, MG7, MG8, MG9, MG10, MG11, MG12, MG13, MG14, MG15, MG16, MG17, MG18, MG19, MG20, MG21, MG22, MH1, MH2, MH3, MH4, MH5, MH6, MH7, MH8, MH9, MH10, MH11, MH12, MH13, MH14, MH15, MH16, MH17, MH18, MH19, MH20, MH21, MH22}) → inVAusgabeCountIf(P ∈ vBild, P, RemoveUndefined[{MB11, MB12}]) → inBild100StartCountIf(P ∈ vBild, P, RemoveUndefined[{ME26, ME27}]) → inBild10StartCountIf(P ∈ vBild, P, RemoveUndefined[{MH21, MH22}]) → inBild1StartCountIf(P ∈ vBild, P, RemoveUndefined[{MA4, MA5, MA6}]) → inBild200StartCountIf(P ∈ vBild, P, RemoveUndefined[{MD26, MD27}]) → inBild20StartCountIf(P ∈ vBild, P, RemoveUndefined[{MG21, MG22}]) → inBild2StartCountIf(P ∈ vBild, P, RemoveUndefined[{MC11, MC12}]) → inBild50StartCountIf(P ∈ vBild, P, RemoveUndefined[{MF21, MF22}]) → inBild5StartZip((numBeutel * m), m, listSol) → listSolNumsPolygon(VVB1, (x(VVB2), y(VVB1)), VVB2, (x(VVB1), y(VVB2))) → vForbidden, vfb1, n, vfb2, pSequence(Element[Remove[listPS, Join[{listPS200, listPS100}]], m], m, 1, listStart(3)) → listPS50Sequence(Element[Remove[listPS, Join[{listPS200, listPS100, listPS50}]], m], m, 1, listStart(4)) → listPS20Sequence(Element[Remove[listPS, Join[{listPS200, listPS100, listPS50, listPS20}]], m], m, 1, listStart(5)) → listPS10Sequence(Element[Remove[listPS, Join[{listPS200, listPS100, listPS50, listPS20, listPS10}]], m], m, 1, listStart(6)) → listPS5Sequence(Element[Remove[listPS, Join[{listPS200, listPS100, listPS50, listPS20, listPS10, listPS5}]], m], m, 1, listStart(7)) → listPS2Sequence(Element[Remove[listPS, Join[{listPS200, listPS100, listPS50, listPS20, listPS10, listPS5, listPS2}]], m], m, 1, listStart(8)) → listPS1Sum(listStart) → numStartSequence(numX, m, 1, 8) → listNumsX, {111, 111, 111, 111, 111, 111, 111, 111}Flatten(Sequence[Sequence[PRest + (m * ((0.5 * picsize100), 0)) + (j * (0, absscheiney)), m, 0, 4], j, 0, 12]) → listRestPointsSequence(listBagPoints(2) + ((0.3 * bagsizex), (0.5 * bagsizey) - (m * absscheinesol)), m, 0, Sum[listSol]) → listSolPoints2Sequence(listBagPoints(3) + ((0.3 * bagsizex), (0.5 * bagsizey) - (m * absscheinesol)), m, 0, Sum[listSol]) → listSolPoints3Sequence(listBagPoints(4) + ((0.3 * bagsizex), (0.5 * bagsizey) - (m * absscheinesol)), m, 0, Sum[listSol]) → listSolPoints4Sequence(listBagPoints(5) + ((0.3 * bagsizex), (0.5 * bagsizey) - (m * absscheinesol)), m, 0, Sum[listSol]) → listSolPoints5Sequence(listBagPoints(6) + ((0.3 * bagsizex), (0.5 * bagsizey) - (m * absscheinesol)), m, 0, Sum[listSol]) → listSolPoints6Sequence(listBagPoints(7) + ((0.3 * bagsizex), (0.5 * bagsizey) - (m * absscheinesol)), m, 0, Sum[listSol]) → listSolPoints7Sequence(listBagPoints(8) + ((0.3 * bagsizex), (0.5 * bagsizey) - (m * absscheinesol)), m, 0, Sum[listSol]) → listSolPoints8Sequence(listBagPoints(9) + ((0.3 * bagsizex), (0.5 * bagsizey) - (m * absscheinesol)), m, 0, Sum[listSol]) → listSolPoints9Sequence(listBagPoints(3) + (3 + (0.3 * bagsizex), (0.5 * bagsizey) - (m * absscheinesol)), m, 0, Sum[listSol]) → listSolPointsRestLength(listRestPoints) → aSequence(listBagPoints(1) + ((0.3 * bagsizex), (0.5 * bagsizey) - (m * absscheinesol)), m, 0, Sum[listSol]) → listSolPoints1Sequence(Element[Zip[Text["\textsf\small{" + correctValue + ((" €" * "}")), P + (1.33, 2), true, true, -0, 1], P, listBagPoints], m], m, 1, numBeutel) → listSolText
AI Drawing Prompt Reference
Draw a money‑exchange machine scene: a central machine with nine rectangular wallets arranged in a 3×3 grid on each side. Above the machine show a total‑amount input field, below two answer input fields. Inside each wallet place bill icons of denominations 200, 100, 50, 20, 10, 5, 2, 1 distributed by division. A horizontal line on the right of the machine marks the outlet, and a feedback rectangle appears at the top. The layout uses a grid, includes randomly generated exercise numbers and a validation button.
The prompt above was compiled from the original drawing commands and is for reference only.