Snail Race
Loading the math board and drawing, please wait…
In collections
Ordnen und Vergleichen von ganzen Zahlen
This example uses a snail race to demonstrate the comparison and ordering of integers. It shows the application of integers in real-life situations using the number line. It utilizes commands such as Sequence, Segment, Polygon, and others in GeoGebra, suitable for students in grades 5-6.
GeoGebra Commands & Parameters
Shuffle(Sequence[i, i, 1, 30]) → ind, {13, 15, 17, 29, 27, 12, 16, 5, 28, 21, 20, 1, 26, 6, 9, 3, 14, 10, 23, 2, 30, 8, 22, 4, 11, 24, 18, 19, 25, 7}Sequence(Random[-50, RandomElement[{0, 50}]], i, 1, 100) → randomNumbersLinkeSeite, {-9, 37, -32, -9, 47, -50, -31, -35, -29, -23, -40, -27, 0, -16, -18, -17, -13, -36, -14, -2, 29, 12, 9, -11, 12, -17, -30, -26, -35, -38, -28, -15, -49, 22, -43, 50, -45, -8, -17, 0, -5, 32, 20, -8, 48, -30, -18, -48, 31, -37, 16, -7, -27, -6, -7, 28, -40, -46, -39, -27, -26, 2, -43, -23, -13, -50, -44, -21, 30, -31, -41, -32, 12, 22, 47, -5, -2, -27, 23, -38, -9, -30, -1, 36, -3, -26, -32, -10, 39, 32, -40, -35, -38, -11, -33, -11, -45, -29, 12, -9}Sequence(Random[-50, RandomElement[{0, 50}]], i, 1, 100) → randomNumbersRechteSeite, {-25, 21, 47, -29, 43, -11, -48, -16, -32, -45, -16, -14, -22, -47, -35, -9, -33, -38, 20, 29, 38, -5, 42, -43, -23, -44, -9, -36, 18, -11, -7, 36, -25, 48, -40, 44, -17, -34, -18, 34, -43, -3, -33, -12, -43, 6, -33, -34, 5, -30, -50, -48, -13, -44, -1, 42, 47, -33, 1, -8, -31, -13, 0, -25, -5, -16, -50, 0, -7, -26, -38, -27, -43, -36, 27, -15, 27, -29, 43, -6, -3, -27, -47, -1, -33, -6, -37, 16, 40, -49, -46, -6, 22, -13, -48, -28, -2, 49, -33, 44}Sequence(If[randomNumbersLinkeSeite(i) < randomNumbersRechteSeite(i), 1, If[randomNumbersLinkeSeite(i) ≟ randomNumbersRechteSeite(i), 2, 3]], i, 1, 100) → randomNumbersSolSymbolsShuffle(Sequence[Shuffle[1…10], i, 1, 100]) → inds, {{9, 5, 2, 6, 10, 8, 4, 1, 7, 3}, {6, 9, 4, 5, 2, 1, 8, 7, 3, 10}, {7, 3, 10, 8, 4, 2, 1, 5, 6, 9}, {7, 9, 1, 8, 2, 3, 10, 5, 6, 4}, {7, 10, 9, 6, 3, 5, 8, 4, 1, 2}, {5, 9, 3, 6, 8, 10, 1, 2, 4, 7}, {4, 2, 6, 9, 8, 7, 3, 1, 5, 10}, {7, 1, 9, 10, 4, 6, 3, 2, 5, 8}, {10, 2, 3, 9, 8, 6, 1, 4, 7, 5}, {2, 3, 7, 6, 5, 1, 8, 4, 10, 9}, {5, 2, 10, 7, 4, 8, 9, 6, 3, 1}, {9, 5, 3, 10, 7, 1, 2, 4, 6, 8}, {7, 2, 4, 3, 8, 5, 10, 6, 1, 9}, {4, 10, 2, 6, 3, 8, 7, 5, 1, 9}, {7, 9, 5, 1, 10, 3, 2, 8, 4, 6}, {9, 5, 10, 3, 4, 2, 6, 1, 8, 7}, {2, 1, 7, 3, 8, 6, 5, 9, 4, 10}, {1, 2, 8, 5, 4, 9, 7, 3, 6, 10}, {10, 7, 3, 4, 9, 8, 6, 1, 2, 5}, {1, 8, 5, 3, 4, 6, 7, 2, 9, 10}, {4, 1, 8, 5, 7, 3, 10, 6, 2, 9}, {7, 6, 2, 9, 5, 8, 3, 1, 4, 10}, {10, 5, 6, 4, 9, 8, 2, 7, 3, 1}, {5, 6, 4, 9, 3, 2, 10, 8, 7, 1}, {1, 9, 7, 8, 4, 10, 3, 5, 2, 6}, {4, 3, 9, 2, 1, 6, 8, 5, 10, 7}, {9, 10, 5, 4, 6, 1, 2, 7, 8, 3}, {8, 1, 9, 6, 7, 4, 3, 10, 5, 2}, {3, 1, 6, 8, 9, 4, 2, 5, 10, 7}, {3, 2, 4, 10, 5, 7, 8, 9, 1, 6}, {3, 9, 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 5, 3, 4, 10, 7, 9, 1}, {5, 3, 4, 6, 2, 7, 1, 8, 10, 9}, {4, 7, 5, 6, 9, 8, 3, 2, 10, 1}, {8, 5, 4, 9, 2, 7, 1, 3, 6, 10}}Textfield(studAns) → InputBox1Shuffle(Sequence[Random[2, 10], i, 1, 100]) → randomNose4, {9, 7, 8, 3, 3, 4, 3, 2, 4, 3, 2, 4, 3, 3, 9, 8, 2, 8, 9, 9, 9, 10, 6, 7, 3, 2, 2, 3, 4, 7, 3, 2, 7, 9, 10, 4, 4, 6, 4, 4, 5, 2, 3, 9, 7, 9, 6, 4, 9, 6, 4, 10, 8, 4, 7, 6, 9, 10, 2, 8, 5, 9, 5, 10, 5, 4, 5, 6, 10, 3, 9, 9, 4, 10, 8, 5, 4, 9, 3, 9, 3, 10, 3, 3, 2, 10, 4, 5, 3, 4, 8, 5, 10, 6, 7, 8, 5, 2, 5, 10}Element(randomNose4, Mod[count, 100] + 1) → e4Shuffle(Sequence[Random[2, 10], i, 1, 100]) → randomNosc2, {9, 9, 4, 5, 8, 7, 10, 6, 4, 8, 5, 6, 8, 10, 10, 2, 5, 9, 7, 4, 3, 2, 8, 9, 10, 3, 10, 4, 7, 10, 4, 9, 10, 9, 10, 10, 10, 5, 6, 4, 10, 5, 9, 10, 2, 7, 5, 8, 9, 3, 2, 8, 6, 9, 6, 7, 7, 2, 10, 2, 5, 3, 3, 5, 10, 5, 5, 3, 10, 2, 4, 3, 4, 2, 6, 2, 4, 5, 8, 10, 2, 5, 3, 9, 6, 10, 7, 3, 6, 6, 7, 5, 6, 10, 8, 4, 3, 4, 8, 5}Element(randomNosc2, Mod[count, 100] + 1) → c2Shuffle(Sequence[Random[2, 10], i, 1, 100]) → randomNosc1, {8, 3, 6, 5, 4, 5, 7, 10, 4, 3, 7, 6, 5, 2, 7, 5, 3, 5, 5, 3, 5, 10, 6, 2, 3, 6, 8, 2, 8, 10, 2, 10, 8, 10, 2, 6, 9, 9, 7, 6, 5, 5, 3, 5, 4, 9, 6, 5, 7, 8, 2, 3, 7, 5, 3, 8, 3, 9, 4, 6, 10, 8, 10, 10, 9, 3, 5, 10, 2, 6, 7, 7, 2, 10, 9, 3, 6, 6, 7, 3, 10, 6, 3, 5, 8, 9, 5, 10, 4, 3, 8, 4, 7, 5, 3, 9, 5, 10, 3, 4}Element(randomNosc1, Mod[count, 100] + 1) → c1Shuffle(Sequence[Random[9, 30], i, 1, 100]) → randomNose2, {17, 14, 11, 11, 17, 10, 12, 21, 30, 13, 10, 12, 23, 21, 21, 19, 27, 10, 21, 29, 26, 20, 12, 21, 17, 20, 19, 10, 16, 16, 30, 20, 14, 13, 11, 10, 20, 22, 21, 11, 17, 29, 27, 25, 15, 30, 18, 27, 11, 28, 28, 29, 24, 17, 29, 26, 15, 28, 10, 14, 17, 20, 10, 18, 30, 9, 20, 27, 10, 27, 26, 28, 19, 27, 17, 15, 17, 18, 19, 19, 21, 11, 22, 16, 16, 26, 28, 16, 25, 20, 18, 24, 25, 26, 12, 20, 23, 9, 9, 17}Element(randomNose2, Mod[count, 100] + 1) → e2Shuffle(Sequence[Random[20, 50], i, 1, 100]) → randomNosa2, {37, 29, 49, 23, 26, 24, 36, 23, 36, 35, 26, 45, 39, 29, 48, 43, 39, 46, 45, 37, 35, 47, 29, 22, 36, 44, 33, 24, 50, 49, 25, 50, 39, 45, 37, 35, 49, 30, 38, 30, 31, 35, 33, 41, 29, 25, 50, 28, 32, 40, 38, 44, 25, 27, 20, 41, 26, 34, 47, 27, 31, 43, 38, 42, 41, 35, 33, 48, 35, 38, 23, 40, 31, 41, 40, 21, 33, 45, 44, 41, 37, 47, 46, 50, 38, 23, 47, 41, 37, 36, 32, 47, 39, 46, 34, 43, 30, 33, 28, 28}Element(randomNosa2, Mod[count, 100] + 1) → a2Shuffle(Sequence[Random[2, 30], i, 1, 100]) → randomNosa1, {20, 7, 23, 9, 30, 18, 16, 21, 22, 26, 28, 4, 20, 10, 8, 14, 3, 30, 3, 7, 7, 28, 22, 27, 11, 15, 17, 21, 4, 14, 10, 29, 27, 17, 27, 26, 7, 4, 28, 4, 22, 9, 9, 6, 26, 23, 12, 10, 28, 12, 17, 4, 3, 23, 7, 9, 27, 3, 11, 19, 16, 27, 26, 18, 10, 25, 16, 25, 22, 17, 3, 15, 7, 3, 26, 15, 11, 15, 4, 2, 28, 21, 20, 26, 16, 13, 12, 10, 25, 12, 14, 11, 28, 2, 9, 5, 27, 5, 11, 8}Element(randomNosa1, Mod[count, 100] + 1) → a1Shuffle(Sequence[Random[10, 40], i, 1, 100]) → randomNosb2, {16, 14, 31, 21, 23, 28, 38, 11, 10, 26, 13, 21, 21, 39, 31, 25, 14, 29, 13, 11, 29, 29, 22, 18, 36, 22, 12, 31, 27, 32, 21, 27, 36, 37, 23, 26, 32, 37, 24, 32, 23, 39, 25, 36, 12, 12, 35, 18, 24, 10, 31, 31, 12, 37, 21, 37, 37, 37, 30, 27, 16, 34, 27, 19, 33, 29, 31, 20, 30, 40, 35, 24, 33, 32, 26, 23, 30, 19, 38, 24, 23, 12, 17, 34, 24, 12, 26, 17, 16, 11, 37, 40, 35, 24, 28, 30, 22, 22, 35, 37}Element(randomNosb2, Mod[count, 100] + 1) → b2Shuffle(Sequence[Random[2, 10], i, 1, 100]) → randomNosd2, {10, 5, 6, 10, 7, 2, 6, 9, 10, 10, 6, 3, 2, 3, 2, 8, 4, 9, 4, 3, 2, 2, 4, 3, 3, 9, 7, 4, 9, 5, 7, 5, 10, 3, 10, 3, 3, 9, 2, 3, 10, 7, 9, 8, 2, 4, 6, 4, 9, 9, 7, 9, 8, 2, 2, 2, 3, 7, 8, 2, 8, 3, 7, 10, 4, 6, 4, 10, 3, 6, 3, 4, 5, 10, 8, 10, 10, 9, 8, 8, 2, 5, 9, 10, 10, 3, 10, 4, 7, 2, 6, 5, 4, 2, 7, 9, 5, 5, 7, 9}Element(randomNosd2, Mod[count, 100] + 1) → d2Element(calcTexts, Element[ind, step]) → text5Segment((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 / 3 * 0.7), regenbogenschnecke, (1 / 6 * 0.8), (1 / 6 * 0.6)) → speed2
AI Drawing Prompt Reference
Draw a snail race on a number line. The horizontal number line extends from 0 to 40, with two horizontal line segments above and below representing race tracks. Display a set of random integers (mainly negative) on the left side below the line, and another set of random integers on the right side above the line, with corresponding pairs for comparison. Mark each pair's relationship (greater than, less than, or equal) using different colors or symbols. Place multiple snail icons on the track, each snail's position on the number line corresponding to its integer value. Add vegetable icons (lettuce, broccoli, etc.) as reward markers distributed along the track. Include an input box for student answers and set dynamic speed parameters so snails can finish the race at different speeds.
The prompt above was compiled from the original drawing commands and is for reference only.