Clever Calculation Practice with Arithmetic Laws
Loading the math board and drawing, please wait…
In collections
Zusammenhang Addition und Subtraktion - Rechengesetze
This GeoGebra example demonstrates clever calculation practice: it randomly generates numbers and interactive text fields so students can apply commutative, associative, and distributive laws to simplify arithmetic. Core concepts include order of operations, integer arithmetic, and the laws of addition and multiplication. Construction uses Shuffle and randomNosForNum to create question data, Polygon, Midpoint, Textfield, and Defined to build the visual layout and input boxes, and Element and If to manage question count and checking. Suitable for grade 5-6 math lessons, practice, and self-study.
GeoGebra Commands & Parameters
Shuffle({20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500}) → nums, {40, 30, 70, 60, 400, 80, 100, 40, 70, 70, 500, 500, 60, 40, 200, 300, 30, 60, 30, 20, 40, 80, 300, 90, 20, 70, 100, 50, 300, 400, 200, 200, 50, 500, 400, 100, 300, 90, 500, 60, 400, 200, 90, 200, 20, 90, 50, 80, 50, 400, 50, 20, 30, 90, 80, 100, 60, 70, 20, 90, 70, 50, 50, 20, 20, 400, 80, 300, 60, 300, 80, 90, 30, 500, 500, 40, 80, 200, 100, 200, 100, 30, 400, 40, 60, 500, 30, 100, 40, 70, 300}Polygon(A_{1}, B_{1}, C_{1}, D_{1}) → box2, a_{1}, b_{1}, c_{1}, d_{1}Polygon(A_{2}, B_{2}, C_{2}, D_{2}) → box3, a_{2}, b_{2}, c_{2}, d_{2}Polygon(A_{3}, B_{3}, C_{3}, D_{3}) → box4, a_{4}, b_{4}, c_{4}, d_{4}Polygon(A, B, C, D) → box1, a, b, c, dShuffle(Sequence[Random[300, 500], i, 1, 100]) → randomNosForNum, {475, 428, 444, 407, 420, 419, 485, 447, 467, 340, 330, 383, 388, 352, 430, 457, 490, 475, 395, 399, 327, 370, 365, 468, 444, 478, 445, 487, 421, 358, 424, 381, 301, 470, 386, 407, 361, 450, 339, 383, 491, 385, 361, 368, 324, 337, 361, 317, 393, 318, 468, 407, 370, 469, 388, 488, 328, 387, 477, 360, 313, 480, 424, 410, 339, 415, 457, 380, 372, 374, 312, 379, 471, 324, 419, 456, 470, 456, 326, 340, 448, 448, 384, 377, 460, 338, 406, 302, 475, 335, 410, 450, 384, 422, 457, 454, 420, 310, 378, 486}Element(randomNosForNum, Mod[questionCount, 100] + 1) → num1If(num1 ≥ 100, floor(num1 / 100), floor(num1 / 10)) → endElement(zahlen, Mod[questionCount, 100] + 1) → elementZahlenMidpoint(Corner[zahl3, 1], Corner[zahl3, 3]) → Point3If(IsInRegion[Point3, box1], 1, If[IsInRegion[Point3, box2], 2, If[IsInRegion[Point3, box3], 3, If[IsInRegion[Point3, box4], 4, 0]]]) → Region3Midpoint(Corner[zahl1, 1], Corner[zahl1, 3]) → Point1If(IsInRegion[Point1, box1], 1, If[IsInRegion[Point1, box2], 2, If[IsInRegion[Point1, box3], 3, If[IsInRegion[Point1, box4], 4, 0]]]) → Region1Midpoint(Corner[zahl2, 1], Corner[zahl2, 3]) → Point2If(IsInRegion[Point2, box1], 1, If[IsInRegion[Point2, box2], 2, If[IsInRegion[Point2, box3], 3, If[IsInRegion[Point2, box4], 4, 0]]]) → Region2Element(randomNosForNum, Mod[questionCount, 100] + 3) → num3Midpoint(Corner[zahl4, 1], Corner[zahl4, 3]) → Point4If(IsInRegion[Point4, box1], 1, If[IsInRegion[Point4, box2], 2, If[IsInRegion[Point4, box3], 3, If[IsInRegion[Point4, box4], 4, 0]]]) → Region4Shuffle(Sequence[Random[1, 2], i, 1, 100]) → randomNosForLay, {1, 1, 1, 2, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 2, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 1, 1, 1}Element(randomNosForLay, Mod[questionCount, 100] + 1) → layIf(Region1 ≟ 1, num1, If[Region2 ≟ 1, num2, If[Region3 ≟ 1, num4, If[Region4 ≟ 1, num3, 0]]]) → numChosen1If(Region1 ≟ 2, num1, If[Region2 ≟ 2, num2, If[Region3 ≟ 2, num4, If[Region4 ≟ 2, num3, 0]]]) → numChosen2If(Region1 ≟ 3, num1, If[Region2 ≟ 3, num2, If[Region3 ≟ 3, num4, If[Region4 ≟ 3, num3, 0]]]) → numChosen3If(lay ≟ 1, bInput ≟ numChosen2 + numChosen3, If[lay ≟ 2, bInput ≟ numChosen2, false]) → correct2If(Region1 ≟ 4, num1, If[Region2 ≟ 4, num2, If[Region3 ≟ 4, num4, If[Region4 ≟ 4, num3, 0]]]) → numChosen4If(lay ≟ 1, cInput ≟ numChosen4, If[lay ≟ 2, cInput ≟ numChosen3 + numChosen4, false]) → correct3Textfield(aInput) → InputBox1Textfield(bInput) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackDefined((((aInput * bInput) * cInput) * dInput)) → fixedIf(lay ≟ 1, L1, L2) → SelectedLTextfield(cInput) → InputBox3Textfield(dInput) → InputBox4Midpoint(A_{1}, B_{1}) → Mid2Midpoint(A, B) → Mid1Midpoint(A_{2}, B_{2}) → Mid3Midpoint(A_{3}, B_{3}) → Mid4Midpoint(Mid2, Mid3) → MidKlammer1Midpoint(Mid4, Mid3) → MidKlammer2If(lay ≟ 1, MidKlammer1, If[lay ≟ 2, Mid2]) → Box2If(lay ≟ 1, Mid4, If[lay ≟ 2, MidKlammer2]) → Box3If(lay ≟ 1, P2_1, P1_1) → PtopLeftCornerFeedback_{1}If(lay ≟ 1, P2_2, P1_2) → PbottomRightCornerFeedback_{1}Polygon(PtopLeftCornerFeedback_{1}, PtopRightCornerFeedback_{1}, PbottomRightCornerFeedback_{1}, PbottomLeftCornerFeedback_{1}) → rectangleCorrect_{1}, ptopleftcornerfeedback_{1}, ptoprightcornerfeedback_{1}, pbottomrightcornerfeedback_{1}, pbottomleftcornerfeedback_{1}If(lay ≟ 1, Q2_1, Q1_1) → PtopLeftCornerFeedback_{2}If(lay ≟ 1, Q2_2, Q1_2) → PbottomRightCornerFeedback_{2}Polygon(PtopLeftCornerFeedback_{2}, PtopRightCornerFeedback_{2}, PbottomRightCornerFeedback_{2}, PbottomLeftCornerFeedback_{2}) → rectangleCorrect_{2}, ptopleftcornerfeedback_{2}, ptoprightcornerfeedback_{2}, pbottomrightcornerfeedback_{2}, pbottomleftcornerfeedback_{2}Polygon(PtopLeftCornerFeedback_{3}, PtopRightCornerFeedback_{3}, PbottomRightCornerFeedback_{3}, PbottomLeftCornerFeedback_{3}) → rectangleCorrect_{3}, ptopleftcornerfeedback_{3}, ptoprightcornerfeedback_{3}, pbottomrightcornerfeedback_{3}, pbottomleftcornerfeedback_{3}Midpoint(PtopRightCornerFeedback, PtopLeftCornerFeedback_{1}) → MidPlus1Midpoint(PtopRightCornerFeedback_{1}, PtopLeftCornerFeedback_{2}) → MidPlus2
AI Drawing Prompt Reference
Draw a practice interface with four rectangular boxes, each containing a number or expression. In the center, place four input fields corresponding to four variables. Depending on a randomly generated layout, some input fields require the sum of two numbers, while others require a single number. Below, add a feedback area that shows a correct mark when all inputs are right. Use a clean geometric style with neatly arranged rectangles and randomly generated numbers to practice commutative, associative, and distributive laws of addition.
The prompt above was compiled from the original drawing commands and is for reference only.