Randomized Tablesquare - Export Class Set as PDF

Randomized Tablesquare - Export Class Set as PDF
Loading the math board and drawing, please wait…
2019-09-10 16:35
This example demonstrates how to create randomized tablesquares and export them as a PDF. Using GeoGebra commands such as Shuffle, Sequence, TableText, and Polygon, you can customize the content of the tablesquares. Suitable for math teachers and students for classroom exercises and teaching demonstrations.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[2, 9]) → l1
  2. Shuffle(Sequence[2, 9]) → l2
  3. Sequence(Sequence[(Element[l1, i] * Element[l2, j]), i, 1, Length[l1]], j, 1, Length[l2]) → m1
  4. Sequence(Sequence[If[i ≟ 0 ∨ j ≟ 0, If[j ≟ 0, If[Defined[Element[l1, i]], Element[l1, i] + "", "x"], Element[l2, j] + ""], "" + ((Element[l1, i] * Element[l2, j]))], i, 0, Length[l1]], j, 0, Length[l2]) → l4
  5. TableText(l4, "|1_1") → text1
  6. Sequence(Sequence[If[i ≟ 0 ∨ j ≟ 0, If[j ≟ 0, If[Defined[Element[l1, i]], Element[l1, i] + "", "x"], Element[l2, j] + ""], "\phantom{" + ((Element[l1, i] * Element[l2, j])) + "}"], i, 0, Length[l1]], j, 0, Length[l2]) → l3
  7. TableText(l3, "_|") → text2
  8. Polygon(A, Export_2, B, Export_1) → q1, a, export_2, b, export_1
  9. Shuffle(Sequence[2, 9]) → l5
  10. Shuffle(Sequence[2, 9]) → l6
  11. Shuffle(Sequence[2, 9]) → l7
  12. Shuffle(Sequence[2, 9]) → l8
  13. Shuffle(Sequence[2, 9]) → l9
  14. Shuffle(Sequence[2, 9]) → l10
  15. Sequence(Sequence[If[i ≟ 0 ∨ j ≟ 0, If[j ≟ 0, If[Defined[Element[l5, i]], Element[l5, i] + "", "x"], Element[l6, j] + ""], "" + ((Element[l5, i] * Element[l6, j]))], i, 0, Length[l5]], j, 0, Length[l6]) → l11
  16. Sequence(Sequence[If[i ≟ 0 ∨ j ≟ 0, If[j ≟ 0, If[Defined[Element[l7, i]], Element[l7, i] + "", "x"], Element[l8, j] + ""], "" + ((Element[l7, i] * Element[l8, j]))], i, 0, Length[l7]], j, 0, Length[l8]) → l12
  17. Sequence(Sequence[If[i ≟ 0 ∨ j ≟ 0, If[j ≟ 0, If[Defined[Element[l9, i]], Element[l9, i] + "", "x"], Element[l10, j] + ""], "" + ((Element[l9, i] * Element[l10, j]))], i, 0, Length[l9]], j, 0, Length[l10]) → l13
  18. Sequence(Sequence[If[i ≟ 0 ∨ j ≟ 0, If[j ≟ 0, If[Defined[Element[l5, i]], Element[l5, i] + "", "x"], Element[l6, j] + ""], "\phantom{" + ((Element[l5, i] * Element[l6, j])) + "}"], i, 0, Length[l5]], j, 0, Length[l6]) → l14
  19. Sequence(Sequence[If[i ≟ 0 ∨ j ≟ 0, If[j ≟ 0, If[Defined[Element[l7, i]], Element[l7, i] + "", "x"], Element[l8, j] + ""], "\phantom{" + ((Element[l7, i] * Element[l8, j])) + "}"], i, 0, Length[l7]], j, 0, Length[l8]) → l15
  20. Sequence(Sequence[If[i ≟ 0 ∨ j ≟ 0, If[j ≟ 0, If[Defined[Element[l9, i]], Element[l9, i] + "", "x"], Element[l10, j] + ""], "\phantom{" + ((Element[l9, i] * Element[l10, j])) + "}"], i, 0, Length[l10]], j, 0, Length[l10]) → l16
  21. TableText(l11, "|_") → text3
  22. TableText(l12, "|_") → text4
  23. TableText(l13, "|_") → text5
  24. TableText(l14, "|_") → text6
  25. TableText(l15, "|_") → text7
  26. TableText(l16, "|_") → text8

AI Drawing Prompt Reference

Create a randomized 3x3 table filled with random numbers from 1 to 9, displaying the numbers in each cell. Mark the edges of the table with corresponding numbers. Export the table content as a PDF. The cells are generated by multiplying the numbers, with special symbols for edge cells. Draw a polygon border around the table for a clear and educational layout suitable for math demonstrations.
The prompt above was compiled from the original drawing commands and is for reference only.