Magic Soup Calculator: Integer Addition and Subtraction with Hot and Cold Cubes
Loading the math board and drawing, please wait…
The Magic Soup Calculator is an interactive GeoGebra model that illustrates integer addition and subtraction using hot and cold cubes. Users set an initial temperature for the soup and adjust sliders to add or remove cubes, observing how the temperature changes with each operation. The core mathematics involves integer arithmetic, the relationship between addition and subtraction, and dynamic sequences. The construction uses GeoGebra commands such as Point, Circle, Textfield, and Sequence to create the visual cubes, temperature display, and slider controls. This tool is ideal for elementary and middle school teachers and students learning integer operations and exploring computational thinking through visual simulation.
GeoGebra Commands & Parameters
Point(xAxis) → APoint(xAxis) → BCircle(A, B) → cTextfield(t) → InputBox1Sequence(Circle[(x(A) + (r / 2 * cos((k * cubespin))), y(A) + (r / 2 * sin((k * cubespin)))), r / 8], k, mincubes + 1, a, 1) → l1Sequence(Circle[(x(A) + (((3 * r)) / 4 * cos((k * cubespinhot))), y(A) + (((3 * r)) / 4 * sin((k * cubespinhot)))), r / 8], k, mincubeshot + 1, b, 1) → l2
AI Drawing Prompt Reference
On a single coordinate plane, place two control points that determine a reference circle. Around the circle’s center, create a “cold” row of small cube-like discs by generating a sequence of elements whose centers are positioned using cosine and sine based on an increasing angle step, with each element’s disc radius taken as a small fraction of the reference circle’s radius. In the same layout, add a “hot” row beside it by generating another sequence with a larger fraction of the radius and a different angle step formula, again distributing centers with cosine and sine relative to the reference circle’s center. Include an input box to set the initial temperature for the soup, so the hot and cold additions/removals can be observed as integer operations change the temperature.
The prompt above was compiled from the original drawing commands and is for reference only.