Different Cases in Comparing Rational Numbers
Loading the math board and drawing, please wait…
In collections
Ordnen und Vergleichen von rationalen Zahlen
This example demonstrates different cases in comparing rational numbers, focusing on the concepts of comparing and ordering rational numbers and representing them on the number line. Using GeoGebra commands such as Join, Sequence, and Zip, it dynamically shows the positions and comparison results of rational numbers on the number line. Suitable for 7-8 grade students for practice and learning.
GeoGebra Commands & Parameters
Join({Sequence[Q0 + (m * (absnotes, 0)), m, 0, 2], {(0, -5), (0, -5), (0, -5)}}) → listPointsNotesSequence(Random[1, 1], m, 1, 110) → listCorrect1, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}Zip(RandomElement[{2, 2} \ {m}], m, listCorrect1) → listCorrect2If(shuffled, Join[Sequence[Shuffle[Sequence[1, 15]], m, 1, 9]], Join[{1…15, 1…15, 1…15, 1…15}]) → listExnumsIf(listsolhelp ≟ {0, 0, 1}, RandomElement[{{1, 3, 2}, {2, 3, 1}, {3, 2, 1}, {3, 1, 2}}], If[listsolhelp ≟ {0, 1, 1}, RandomElement[{{2, 1, 3}, {2, 3, 1}, {3, 1, 2}, {3, 2, 1}}], {1, 2, 3}]) → listChangedPositionsIf(shuffle, IndexOf[1, listChangedPositions], listCorrect1(Mod[questionCount, 100] + 1)) → posC1If(shuffle, IndexOf[2, listChangedPositions], listCorrect2(Mod[questionCount, 100] + 1)) → posC2RemoveUndefined({If[selected1, 1], If[selected2, 2], If[selected3, 3]}) → listselectedZip(RandomElement[{3, 3} \ {m, n}], m, listCorrect1, n, listCorrect2) → listCorrect3If(shuffle, IndexOf[3, listChangedPositions], listCorrect3(Mod[questionCount, 100] + 1)) → posC3RemoveUndefined({If[listsolhelp(1) ≟ 1, posC1], If[listsolhelp(2) ≟ 1, posC2], If[listsolhelp(3) ≟ 1, posC3]}) → listsolSequence(Random[1, 4], m, 1, 110) → listNote1, {2, 3, 3, 4, 2, 3, 1, 2, 4, 1, 4, 1, 2, 4, 1, 4, 3, 1, 2, 1, 1, 4, 2, 2, 2, 1, 4, 1, 2, 2, 2, 3, 1, 2, 1, 4, 3, 3, 2, 4, 4, 3, 2, 3, 1, 1, 4, 1, 4, 3, 4, 3, 4, 1, 2, 4, 1, 3, 2, 2, 1, 3, 3, 4, 2, 4, 2, 3, 3, 1, 4, 1, 3, 4, 2, 4, 4, 3, 4, 1, 1, 3, 3, 1, 2, 3, 1, 2, 1, 1, 4, 4, 2, 2, 2, 1, 4, 4, 3, 2, 4, 3, 2, 4, 1, 3, 3, 4, 4, 1}Zip(RandomElement[{5} \ {m}], m, listNote1) → listNote2Zip(RandomElement[{1, 2, 3, 4} \ {m, n}], m, listNote1, n, listNote2) → listNote3Zip(RandomElement[{1, 2, 3, 4} \ {m, n, j}], m, listNote1, n, listNote2, j, listNote3) → listNote4Sequence(P0 + (m * (abstext, 0)), m, 0, 2) → listPointsTextZip(RandomElement[{1, 2, 3} \ {m, n}], m, listCorrect1, n, listCorrect2) → listWrong3Textfield(input1) → InputBox1Textfield(input2) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, rectangleCorrectS3, rectangleCorrectS4, rectangleCorrectS2, rectangleCorrectS1Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {10, 7, 8, 1, 9, 3, 8, 2, 8, 3, 9, 6, 10, 8, 10, 1, 2, 5, 7, 0, 2, 2, 10, 3, 1, 1, 2, 0, 2, 7, 9, 8, 5, 5, 6, 3, 0, 2, 6, 3, 8, 8, 1, 0, 0, 0, 9, 8, 7, 1, 2, 1, 9, 8, 2, 4, 1, 4, 0, 8, 10, 9, 2, 2, 2, 5, 7, 1, 6, 4, 4, 5, 1, 2, 5, 0, 1, 4, 2, 3, 1, 7, 4, 4, 1, 2, 10, 9, 8, 5, 4, 1, 3, 2, 7, 10, 6, 10, 6, 6}Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {7, 10, 0, 6, 0, 10, 8, 8, 2, 2, 7, 1, 10, 2, 8, 7, 1, 3, 10, 5, 5, 9, 6, 10, 8, 7, 6, 7, 7, 5, 1, 0, 0, 9, 2, 5, 3, 8, 6, 4, 3, 0, 10, 0, 3, 9, 6, 2, 10, 3, 6, 5, 7, 8, 9, 0, 10, 2, 7, 7, 9, 1, 2, 0, 6, 2, 6, 2, 9, 0, 5, 0, 3, 7, 0, 5, 4, 5, 10, 2, 2, 2, 8, 9, 6, 0, 0, 4, 9, 5, 7, 8, 3, 7, 8, 1, 2, 8, 4, 2}Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayXAppend(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayYRemove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeatRemove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeatElement(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeatElement(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeatNumberSeparationComma(numX) → Text3NumberSeparationComma(numY) → Text4NumberSeparationComma(numZ) → Text5Zip(RandomElement[{6} \ {m, n, j, l}], m, listNote1, n, listNote2, j, listNote3, l, listNote4) → listNote5Zip(RandomElement[{1, 2, 3, 4} \ {m, n, j, l, k}], m, listNote5, listNote1, n, listNote2, j, listNote3, l, listNote4, k) → listNote6Length(listsol) → numSolDefined(IndexOf[IndexOf[3, listChangedPositions], listselected]) → selectedShuffle3Defined(IndexOf[IndexOf[2, listChangedPositions], listselected]) → selectedShuffle2Defined(IndexOf[IndexOf[1, listChangedPositions], listselected]) → selectedShuffle1Text((("\bold{" * numAHelpText) * "}"), midPointQuestionNumber, true, true, 0, 0) → Text1Text(TextC1, Midpoint[Vertex[s1(1), 1], Vertex[s1(1), 3]] + vec, false, true, 0, 0) → TxtSelection1Text(TextC2, Midpoint[Vertex[s2(1), 1], Vertex[s2(1), 3]] + vec, false, true, 0, 0) → TxtSelection2Text(TextC3, Midpoint[Vertex[s3(1), 1], Vertex[s3(1), 3]] + vec, false, true, 0, 0) → TxtSelection3