Comparing Values - Level 1
Loading the math board and drawing, please wait…
In collections
Gegenzahl und Betrag einer rationalen Zahl
This example demonstrates how to visually compare two numerical values using geometric figures. The key mathematical concepts involve absolute value, distance on the number line, and basic principles of numerical comparison. Construction points include using GeoGebra commands such as Join, Point, Distance, and Translate to create the number line and mark value points. Suitable for students in grad
GeoGebra Commands & Parameters
Join({{1}, Shuffle[{2, 3}], Join[Sequence[Shuffle[Sequence[1, 3]], m, 1, 40]]}) → listBSPSelectedIndex(DropDown5) → input5Element({1, 0.5, 0.1}, bsp) → faktorJoin({{1, 4, 3}, Join[Sequence[Shuffle[Sequence[1, 5]], m, 1, 30]]}) → listNumFallElement({1, 1, 1, 0, 1}, fall) → numVZYElement({0, 0, 0, 0, 1}, fall) → numVZXSequence(RandomElement[listPossibleNumsBigger], m, 1, 130) → listNum1X, {16, 16, 14, 15, 15, 15, 16, 15, 16, 15, 13, 16, 15, 13, 13, 14, 14, 13, 15, 13, 14, 15, 14, 13, 16, 16, 15, 16, 15, 16, 14, 16, 13, 14, 15, 16, 16, 14, 14, 13, 13, 15, 16, 14, 16, 14, 15, 16, 13, 13, 13, 13, 14, 15, 15, 16, 16, 13, 15, 13, 14, 15, 14, 14, 15, 15, 14, 13, 16, 13, 13, 13, 14, 13, 15, 16, 13, 16, 16, 14, 13, 15, 16, 13, 13, 14, 15, 16, 15, 15, 16, 13, 14, 15, 13, 15, 15, 15, 14, 15, 13, 15, 14, 15, 15, 16, 16, 16, 13, 14, 14, 15, 14, 16, 13, 15, 13, 16, 16, 15, 14, 15, 13, 13, 16, 13, 14, 13, 14, 14}Zip(RandomElement[listPossibleNumsAll \ Sequence[m - absNum - 1, 18]], m, listNum1X) → listNum1YSequence(RandomElement[listPossibleNumsAll], m, 1, 130) → listNum3X, {14, 15, 6, 13, 4, 7, 15, 5, 14, 15, 15, 13, 15, 16, 16, 15, 14, 16, 4, 6, 5, 6, 6, 4, 7, 5, 14, 14, 4, 5, 6, 4, 13, 4, 6, 6, 4, 16, 15, 15, 13, 15, 4, 13, 13, 6, 4, 16, 7, 13, 14, 14, 6, 5, 5, 13, 7, 15, 15, 13, 13, 13, 16, 4, 6, 14, 14, 13, 16, 15, 6, 4, 13, 5, 5, 15, 6, 4, 14, 4, 7, 16, 4, 14, 5, 7, 4, 13, 7, 14, 14, 13, 5, 7, 15, 16, 15, 6, 14, 13, 15, 5, 15, 5, 5, 13, 7, 15, 5, 7, 7, 5, 15, 7, 15, 6, 7, 14, 7, 14, 7, 4, 4, 13, 4, 5, 5, 15, 6, 14}Element({num1x, num2x, num3x, num4x, num5x}, fall) → numXValueElement({num1y, num2y, num3y, num4y, num5y}, fall) → numYValueIf(lenaX, numX, numY) → numLenaIf(lenaX, numY, numX) → numJanisMin({numLenaCorrect, numJanisCorrect}) → numLeftMax({numLenaCorrect, numJanisCorrect}) → numRightIf(sol3 < sol4, 2, If[sol3 > sol4, 3, If[sol3 ≟ sol4, 4]]) → sol5Point(Line[PStart, xAxis]) → PEndDistance(PStart, PEnd) → linelengthSequence(PStart + (m * (linelength / linedivision, 0)), m, -1, 41) → listLinePointsKeepIf(x(PStart) ≤ x(P) ≤ x(PEnd), P, listLinePoints) → listPointsTextfield(input1) → Eingabefeld1Textfield(input2) → Eingabefeld2Element({2, 2, 2}, step) → triesSegment(listLinePoints(1), Element[Last[listLinePoints], 1]) → lineElement({5, 2, 5}, bsp) → lineabslongSequence(PStart + ((lineabslong * m) * (linelength / linedivision, 0)), m, 0, linedivision / lineabslong) → listLinePointsLongKeepIf(x(PStart) < x(P) < x(PEnd) ∧ (¬(P ∈ listLinePointsLong)), P, listLinePoints) → listLinePointsShortZip(Segment[P + (0, (-lineheightshort)), P + (0, lineheightshort)], P, listLinePointsShort) → listLinesShortZip(Segment[P + (0, (-lineheightlong)), P + (0, lineheightlong)], P, listLinePointsLong) → listLinesLongSequence(PStart + (m * (linelength / linedivision, 0)), m, 0, linedivision, linedivision / 4) → listLinePointsTextZip(m ≟ n, m, listNum1X, n, listNum1Y) → checkJoin({Zip[Text[(("\textsf\footnotesize{--}\textsf{" * n) * "}"), m + (0, -1), true, true, -0, 1], n, {((linedivision * 0.5) * faktor), ((linedivision * 0.25) * faktor)}, m, listLinePointsText], Zip[Text[(("\textsf\footnotesize{" * n) * "}"), m + (0, -1), true, true, -0, 1], n, {((linedivision * 0.25) * faktor), ((linedivision * 0.5) * faktor)}, m, Sequence[Element[listLinePointsText, m], m, 4, 5]]}) → listLineTextTextfield(input3) → Eingabefeld3Textfield(input4) → Eingabefeld4If(numLeft ≟ numLenaCorrect, colourorange, colourlila) → colourLeftIf(numRight ≟ numLenaCorrect, colourorange, colourlila) → colourRightIf(numLenaSol > numJanisSol, "Lena", "Janis") → nameFurtherIf(nameFurther ≟ "Lena", "Janis", "Lena") → nameCloserPointIn(Circle[PosQuestion3, 10]) → PosQuestion3BPointIn(Circle[PosQuestion3, 10]) → PBogen1aPoint(Line[PBogen1a, xAxis]) → PBogen2aCircleArc(Midpoint[PBogen1a, PBogen1b] + (bogensize, 0), PBogen1a, PBogen1b) → bogen1Translate(Mirror[bogen1, Line[PBogen1a, yAxis]], PBogen2a - PBogen1a) → bogen2Element({correctA, correctB, correctC}, step) → correctActualSegment(PHaus1, PJanis1) → janis1Segment(PJanis2, PHaus2) → janis2Segment(PHaus1, PLena1) → lena1Segment(PLena2, PHaus2) → lena2Zip(Text[(("\textsf\small\bold{" * n) * "}"), m + (0, -1), true, true, -0, 1], n, {0}, m, {listPoints(linedivision / 2 + 1)}) → listLineText0SelectedIndex(DropDown6) → input6Join({Sequence[Segment[Corner[4] + (RasterPixMat * ((k * RasterStepXY), 0)), Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY))], k, 0, RasterMaxX / RasterStepXY], Sequence[Segment[Corner[4] + (RasterPixMat * (0, (k * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], k, 0, RasterMaxY / RasterStepXY]}) → RasterStreckenJoin({Sequence[Text[UnicodeToLetter[65 + k], Midpoint[Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY)), Corner[4] + (RasterPixMat * (((k + 1) * RasterStepXY), RasterMaxY))], false, true, 0, -1], k, 0, RasterMaxX / RasterStepXY - 1], Sequence[Text[("" * k), Midpoint[Corner[4] + (RasterPixMat * (RasterMaxX, ((k - 1) * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], false, true, 1, 0], k, 1, RasterMaxY / RasterStepXY]}) → RasterBeschriftungJoin({Sequence[Segment[Corner[4] + (RasterPixMat * ((k * RasterStepXY), 0)), Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY))], k, RasterMaxX / RasterStepXY, RasterMaxX / RasterStepXY], Sequence[Segment[Corner[4] + (RasterPixMat * (0, (k * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], k, RasterMaxY / RasterStepXY, RasterMaxY / RasterStepXY]}) → RasterAussen