Snail Racing - Rational Numbers Addition and Subtraction
Loading the math board and drawing, please wait…
In collections
Addieren und Subtrahieren von ganzen und rationalen Zahlen
This example demonstrates the addition and subtraction of rational numbers, showcasing the application of rational numbers in geometric shapes. The core mathematical concepts include the definition of rational numbers, addition and subtraction, and the construction of geometric shapes. The construction points include the use of GeoGebra commands: Textfield, Segment, Polygon, OrthogonalLine, Sequen
GeoGebra Commands & Parameters
Textfield(input) → InputBoxSegment((0, 0.7), (40, 0.7)) → fSegment((0, -9.3), (40, -9.3)) → gPolygon(E, F, G, H) → v1, e, f_1, g_1, hOrthogonalLine(A_1, xAxis) → iSequence(Translate[Element[salat1, i], Vector[SalatPos1 + ((i - 1) * (dxFolge, 0))]], i, 1, 3) → showSalat1Sequence(Translate[Element[salat2, i], Vector[SalatPos2 + ((i - 1) * (dxFolge, 0))]], i, 1, 3) → showSalat2Sequence(Translate[Element[salat3, i], Vector[SalatPos3 + ((i - 1) * (dxFolge, 0))]], i, 1, 3) → showSalat3If(turboschnecke, 1 / 6, regenbogenschnecke, (1 / 6 * 0.8), (1 / 6 * 0.6)) → speed2Defined(input) → fixedShuffle(Sequence[Random[2, 6], i, 1, 50]) → randomZahl3Nenner, {4, 2, 3, 2, 6, 6, 5, 4, 6, 4, 6, 6, 6, 4, 2, 5, 5, 6, 6, 2, 5, 6, 6, 2, 4, 2, 2, 3, 5, 4, 2, 6, 6, 5, 5, 5, 6, 5, 3, 2, 5, 5, 2, 4, 3, 3, 5, 6, 4, 5}Flatten(Sequence[Shuffle[1…4], k, 1, 50]) → VRAuswahl1Flatten(Sequence[Shuffle[1…4], k, 1, 50]) → VRAuswahl2Flatten(Sequence[Shuffle[1…4], k, 1, 50]) → VRAuswahl3Shuffle(Sequence[Random[1, 10], i, 1, 50]) → randomZahl11, {1, 9, 10, 9, 1, 3, 6, 5, 7, 4, 3, 10, 5, 8, 7, 7, 7, 8, 2, 1, 5, 4, 1, 1, 4, 1, 1, 4, 5, 1, 10, 6, 6, 2, 10, 7, 1, 5, 7, 1, 10, 4, 8, 4, 5, 3, 2, 10, 9, 10}Shuffle(Sequence[Random[1, 10], i, 1, 50]) → randomZahl12, {5, 3, 10, 6, 1, 4, 4, 3, 7, 6, 6, 6, 2, 1, 9, 7, 3, 2, 10, 10, 7, 2, 10, 8, 4, 5, 1, 2, 1, 5, 10, 1, 10, 2, 2, 2, 4, 8, 3, 3, 9, 8, 7, 8, 7, 3, 8, 6, 8, 7}Shuffle(Sequence[Random[1, 10], i, 1, 50]) → randomZahl13, {5, 9, 8, 5, 7, 8, 4, 5, 9, 5, 10, 2, 9, 9, 5, 2, 9, 8, 7, 8, 4, 1, 7, 5, 7, 2, 10, 8, 1, 7, 2, 4, 1, 2, 1, 4, 2, 5, 3, 7, 7, 3, 8, 3, 10, 4, 2, 9, 1, 6}Sequence(RandomElement[1…2], i, 1, 50) → random5050, {1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2}Shuffle(Sequence[RandomElement[(0…49) \ {0, -10, 10, -20, 20, -30, 30, -40, 40}] / 10, i, 1, 55]) → randomZahl212, {1.3, 0.8, 3.6, 4.2, 1.2, 4.6, 4.7, 0.5, 3.3, 0.2, 0.9, 2.5, 3.9, 0.9, 2.4, 0.8, 3.9, 0.6, 0.6, 3.9, 1.6, 4.8, 3.1, 3.1, 2.6, 1.6, 2.4, 2.6, 0.4, 3.7, 3.3, 4.1, 4.7, 2.8, 4.7, 0.2, 2.4, 4.8, 3.8, 4.4, 0.5, 3.8, 4.3, 2.1, 0.6, 0.7, 4.2, 3.5, 4.5, 2.3, 4.6, 3.5, 4.1, 4.8, 4.6}Shuffle(Sequence[RandomElement[(1…10) \ {10}] / 10, i, 1, 55]) → randomZahl211, {0.9, 0.6, 0.5, 0.8, 0.3, 0.1, 0.9, 0.8, 0.6, 0.3, 0.2, 0.8, 0.8, 0.6, 0.8, 0.9, 0.8, 0.9, 0.7, 0.6, 0.3, 0.7, 0.8, 0.4, 0.7, 0.9, 0.3, 0.8, 0.5, 0.5, 0.9, 0.4, 0.6, 0.9, 0.5, 0.7, 0.3, 0.9, 0.4, 0.6, 0.5, 0.6, 0.5, 0.1, 0.7, 0.3, 0.8, 0.4, 0.7, 0.2, 0.8, 0.2, 0.5, 0.8, 0.5}If(random5050(beispiel) ≟ 1, randomZahl211, randomZahl212) → randomZahl21Shuffle(Sequence[RandomElement[(1…10) \ {10}] / 10, i, 1, 55]) → randomZahl22, {0.1, 0.4, 0.8, 0.4, 0.6, 0.4, 0.6, 0.1, 0.8, 0.2, 0.8, 0.8, 0.7, 0.6, 0.8, 0.1, 0.5, 0.7, 0.1, 0.1, 0.2, 0.8, 0.5, 0.7, 0.5, 0.9, 0.1, 0.7, 0.4, 0.8, 0.8, 0.6, 0.3, 0.7, 0.9, 0.9, 0.2, 0.4, 0.4, 0.4, 0.5, 0.9, 0.4, 0.3, 0.4, 0.1, 0.4, 0.7, 0.4, 0.4, 0.9, 0.7, 0.7, 0.3, 0.1}Shuffle(Sequence[Random[1, 2], i, 1, 100]) → randomPosition2, {2, 2, 2, 2, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 1, 1, 2, 1, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 2, 2, 1, 2, 2, 2, 1}If(random5050(beispiel) ≟ 1, solution21, solution22) → solution2Sequence(If[randomZahl3Nenner(i) ≟ 2, Random[1, 2], randomZahl3Nenner(i) ≟ 3, Random[1, 3], randomZahl3Nenner(i) ≟ 4, Random[1, 4], randomZahl3Nenner(i) ≟ 5, Random[1, 5], randomZahl3Nenner(i) ≟ 6, Random[1, 6]], i, 1, 50) → randomZahl3Zähler1Sequence(If[randomZahl3Nenner(i) ≟ 2, Random[1, 2], randomZahl3Nenner(i) ≟ 3, Random[1, 3], randomZahl3Nenner(i) ≟ 4, Random[1, 4], randomZahl3Nenner(i) ≟ 5, Random[1, 5], randomZahl3Nenner(i) ≟ 6, Random[1, 6]], i, 1, 50) → randomZahl3Zähler2Flatten(Sequence[Shuffle[1…3], k, 1, 50]) → randomQuestionTypeIf(questionType ≟ 1, solution1, questionType ≟ 2, solution2, solution3) → solutionSplit(Text[InputBox], {""}) → inputKeysCountIf(x ≟ " ", inputKeys) → NumOfLeerIf(questionType ≟ 3, NumOfLeer ≤ 2, NumOfLeer ≟ 0) → correctKeysCountIf(x ≟ "+", inputKeys) → NumOfPlusCountIf(x ≟ "-", inputKeys) → NumOfMinusCountIf(x ≟ "/", inputKeys) → NumOfDurchCountIf(x ≟ "*", inputKeys) → NumOfMal