Comparing Powers
Loading the math board and drawing, please wait…
This example demonstrates how to compare two powers to determine if they have the same value. It involves core mathematical concepts such as exponentiation, power comparison, and inequality evaluation. The construction utilizes GeoGebra commands/objects like Random, If, Polygon, UnicodeToLetter, IsInRegion, and LaTeX, highlighting the use of conditional logic, geometric representations, and dynamic text. Suitable for middle school and above, focusing on exponent operations and inequality understanding.
GeoGebra Commands & Parameters
Random(1, 9) → baseTempIf(Random[0, 1] ≟ 0, baseTemp, (baseTemp * (-1))) → base2If(Random[0, 1] ≟ 0, baseTemp, (baseTemp * (-1))) → base1Random(2, 15) → exponentPolygon(A, B, C, D) → box, a, b, c, dUnicodeToLetter(10007) → xmarkUnicodeToLetter(10003) → cmarkIf(base1 < 0, (powerTemp * (-1)), powerTemp) → leftPowerIsInRegion(midNotEquals, box) → isNotEqualsInRegionIsInRegion(midEquals, box) → isEqualsInRegionPolygon(anchorEquals, anchorEquals + (widthOfEquals, 0), anchorEquals + (widthOfEquals, (-heightOfEquals)), anchorEquals + (0, (-heightOfEquals))) → dragBoxEquals, anchorequals, f, g, hPolygon(anchorNotEquals, anchorNotEquals + (widthOfNotEquals, 0), anchorNotEquals + (widthOfNotEquals, (-heightOfNotEquals)), anchorNotEquals + (0, (-heightOfNotEquals))) → dragBoxNotEquals, anchornotequals, i, j, kLaTeX("\text{\textbf{Question: }Are these powers equal or not equal?\\\textbf{Instructions: }Drag the appropriate symbol into the box in order to make a true\\statement.}") → TEXTLaTeX("\text{Only drag one symbol into the box.}") → errorBothDraggedLaTeX("\text{Please drag a symbol into the box.}") → errorNoneDragged