Hexenkessel: Natural Number Place Value System Visualization

Hexenkessel: Natural Number Place Value System Visualization
Loading the math board and drawing, please wait…
2021-09-01 20:04
In collections Stellenwertsystem
Hexenkessel demonstrates the visualization of natural number place value systems, involving concepts like natural number place value, random number generation, and validation. Construction uses GeoGebra commands such as Sequence, RandomElement, Join, and Sum. Suitable for elementary students aged 5-6 to understand place value systems and mathematical verification processes.

GeoGebra Commands & Parameters

  1. Sequence(Random[2, 4], i, 1, numberOfQuestions) → randomNumbersSameElements, {4, 2, 2, 2, 4, 2, 2, 3, 2, 4, 2, 3, 2, 4, 2, 4, 4, 3, 3, 3, 3, 4, 3, 2, 3, 3, 3, 3, 3, 4, 3, 3, 2, 4, 2, 3, 4, 3, 3, 2, 3, 3, 3, 3, 2, 3, 2, 4, 4, 4}
  2. Element(randomNumbersSameElements, Mod[questionCount, Length[randomNumbersSameElements]] + 1) → actualRandomNumberSameElements
  3. Sequence(Sum[Sequence[(Random[If[i ≟ 1, 1, 0], If[i ≟ randomNumbersSameElements(1) + 1, 8, 9]] * 10^(6 - i)), i, 1, 6]], j, 1, numberOfQuestions) → randomNumbers1
  4. Element(randomNumbers1, Mod[questionCount, Length[randomNumbers1]] + 1) → actualRandomNumber1
  5. Sequence(Random[randomNumbers1(i) + 10^(5 - randomNumbersSameElements(i)), randomNumbers1(i) + 10^(6 - randomNumbersSameElements(i)) - Mod[randomNumbers1(i), 10^(6 - randomNumbersSameElements(i))] - 1], i, 1, numberOfQuestions) → randomNumbers2, {795553, 414603, 413529, 109957, 738298, 323463, 308667, 864337, 919633, 226155, 908684, 953082, 689855, 183093, 726253, 197094, 981198, 650966, 345706, 627801, 854765, 673483, 866985, 905673, 419855, 366785, 306739, 849996, 137672, 690992, 851324, 221831, 717263, 364856, 558788, 483993, 832263, 638743, 881838, 347448, 230010, 480675, 823861, 664676, 809501, 448528, 255145, 868063, 418261, 944593}
  6. Element(randomNumbers2, Mod[questionCount, Length[randomNumbers2]] + 1) → actualRandomNumber2
  7. RandomElement((actualRandomNumber1 + 1)…(actualRandomNumber2 - 1)) → actualRandomNumberZwischen1und2
  8. Sequence(Mod[floor(actualRandomNumberZwischen1und2 / 10^(i)), 10], i, 5, 0, -1) → actualRandomNumberZwischen1und2Split
  9. Sequence(Mod[floor(actualRandomNumber1 / 10^(i)), 10], i, 5, 0, -1) → actualRandomNumber1Split
  10. Sequence(Mod[floor(actualRandomNumber2 / 10^(i)), 10], i, 5, 0, -1) → actualRandomNumber2Split
  11. Sequence(RandomElement[{0, 1, 2, 3, 4, 5, 6, 7, 8, 9} \ {actualCorrectElements(i)}], i, 1, 6) → actualCorrectOrIncorrectElements, {6, 0, 0, 9, 4, 1}
  12. Join({Sequence[If[zahlInKessel(i), (actualCorrectElements(i) * 10^(6 - i)), 0], i, 1, 6], Sequence[If[zahlInKessel(6 + i), (actualCorrectOrIncorrectElements(i) * 10^(6 - i)), 0], i, 1, 6]}) → werteImKessel
  13. Sum(werteImKessel) → yourNumber
  14. If(Defined[IndexOf[true, zahlInKessel]], CountIf[a ≟ true, a, zahlInKessel] ≥ 1 ∧ (¬tooMuch), false) → clickableBtnValidate
  15. Textfield(input) → inputBox
  16. Ellipse(zauberkesselAreaA, zauberkesselAreaB, zauberkesselAreaC) → zauberkesselAreaEllipse
  17. Sequence(Corner[Object["txt" + (If[i < 10, "0", ""]) + (i)], 1], i, 1, 12) → textPunkte
  18. Append(Sum[Zip[("" * b), b, actualCorrectElements]], Flatten[Sequence[Sequence[Sum[Zip[("" * a), a, Join[{First[actualCorrectElements, j - 1], Take[actualCorrectOrIncorrectElements, j, j + i - 1], Last[actualCorrectElements, 6 - (j + i - 1)]}]]], j, 1, 6 - i + 1], i, 1, 5]]) → allPossibleRandomNumbersPart1
  19. Append(Sum[Zip[("" * b), b, actualCorrectOrIncorrectElements]], Flatten[Sequence[Sequence[Sum[Zip[("" * a), a, Join[{First[actualCorrectOrIncorrectElements, j - 1], Take[actualCorrectElements, j, j + i - 1], Last[actualCorrectOrIncorrectElements, 6 - (j + i - 1)]}]]], j, 1, 6 - i + 1], i, 1, 5]]) → allPossibleRandomNumbersPart2
  20. Append(Sum[Zip[("" * b), b, Join[{First[actualCorrectElements, 5], {0}}]]], Flatten[Sequence[Sequence[Sum[Zip[("" * a), a, Join[{First[actualCorrectElements, j - 1], Take[{0, 0, 0, 0, 0, 0}, j, j + i - 1], Last[actualCorrectElements, 6 - (j + i - 1)]}]]], j, 1, 6 - i + 1], i, 1, 5]]) → allPossibleRandomNumbersPart3
  21. Append(Sum[Zip[("" * b), b, Join[{First[actualCorrectOrIncorrectElements, 5], {0}}]]], Flatten[Sequence[Sequence[Sum[Zip[("" * a), a, Join[{First[actualCorrectOrIncorrectElements, j - 1], Take[{0, 0, 0, 0, 0, 0}, j, j + i - 1], Last[actualCorrectOrIncorrectElements, 6 - (j + i - 1)]}]]], j, 1, 6 - i + 1], i, 1, 5]]) → allPossibleRandomNumbersPart4
  22. Join({allPossibleRandomNumbersPart1, allPossibleRandomNumbersPart2, allPossibleRandomNumbersPart3, allPossibleRandomNumbersPart4}) → allPossibleRandomNumbers
  23. Unique(Sort[allPossibleRandomNumbers]) → allPossibleRandomNumbersSortUnique
  24. Length(allCorrectRandomNumbers) → anzCorrectElements
  25. Join({Sequence[(NumberSeparationCommaText[(allCorrectRandomNumbers(k) * "")] * " \vphantom{g}"), k, 1, Length[allCorrectRandomNumbers]], {"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""}}) → allCorrectRandomNumbersTxt
  26. Sequence(Take[allCorrectRandomNumbersTxt, k, k + anzElementsInLine - 1], k, 1, anzCorrectElements, anzElementsInLine) → allCorrectRandomNumbersForOutput
  27. RemoveUndefined(Sequence[Take[allCorrectRandomNumbersTxt, k, k + anzElementsInLine - 1], k, 1, anzCorrectElements, anzElementsInLine]) → allCorrectRandomNumbersForOutput2

AI Drawing Prompt Reference

Draw a cauldron with 12 numbered positions inside, each capable of holding a digit from 0 to 9. The cauldron contains a six-digit natural number generated between two random six-digit numbers. Next to the cauldron, there is an input box for users to enter their guesses for the correct digits. At the bottom, there is a validate button to check if the input is correct.
The prompt above was compiled from the original drawing commands and is for reference only.