Representing Addition and Multiplication

Representing Addition and Multiplication
Loading the math board and drawing, please wait…
2022-03-24 09:55
This example demonstrates how to represent multiplication as repeated addition or multiplication by using GeoGebra. It involves core mathematical concepts such as various interpretations of multiplication, the meaning of multiplication with natural and fractional numbers. Construction highlights the use of commands and objects like Shuffle, Append, Remove, Element, CountIf, If, Textfield, Polygon. Suitable for 5th-6th grade students to understand and visualize different forms of multiplication operations.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[Random[10, 99], i, 1, 100]) → randomNosForY, {80, 73, 57, 95, 72, 58, 68, 62, 27, 73, 28, 82, 44, 39, 65, 25, 35, 39, 59, 51, 32, 69, 68, 25, 47, 59, 66, 12, 51, 16, 88, 71, 90, 55, 37, 30, 78, 71, 41, 72, 14, 86, 42, 32, 35, 39, 28, 67, 86, 91, 91, 10, 18, 80, 53, 73, 79, 37, 18, 29, 34, 30, 23, 33, 80, 61, 15, 44, 81, 80, 93, 56, 14, 81, 32, 46, 36, 56, 57, 84, 33, 66, 36, 31, 38, 47, 62, 17, 24, 71, 24, 13, 38, 19, 31, 28, 34, 83, 73, 96}
  2. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  3. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  4. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  5. Shuffle(Sequence[Random[3, 9], i, 1, 100]) → randomNosForX, {4, 7, 8, 5, 9, 4, 9, 9, 8, 4, 7, 8, 5, 7, 3, 7, 3, 8, 5, 4, 6, 7, 4, 7, 8, 9, 3, 9, 8, 8, 3, 8, 5, 7, 3, 8, 6, 7, 9, 4, 9, 7, 5, 3, 7, 7, 3, 3, 3, 6, 4, 7, 4, 3, 7, 8, 6, 4, 5, 4, 4, 4, 8, 3, 3, 3, 6, 6, 4, 5, 6, 5, 3, 5, 7, 5, 5, 4, 3, 4, 5, 9, 9, 8, 5, 3, 4, 5, 7, 9, 6, 6, 7, 4, 4, 9, 8, 8, 3, 7}
  6. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  7. CountIf(Take[inputText, c, c] ≟ "+", c, 0…Length[inputText]) → countPlus
  8. If(Mod[count, 2] ≟ 0, 1, 2) → lay
  9. Textfield(aInput) → InputBox1
  10. Textfield(bInput) → InputBox2
  11. If(lay ≟ 1, c2, c1) → correct
  12. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback_{1}, PbottomRightCornerFeedback_{1}, PbottomLeftCornerFeedback) → rectangleCorrect, f, g, h, i
  13. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  14. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  15. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  16. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  17. Textfield(inputText) → InputBox3
  18. Polygon(PtopLeftCornerFeedback_{2}, PtopRightCornerFeedback_{2}, PbottomRightCornerFeedback_{2}, PbottomLeftCornerFeedback_{2}) → rectangleCorrect_{2}, ptopleftcornerfeedback_{2}, ptoprightcornerfeedback_{2}, pbottomrightcornerfeedback_{2}, pbottomleftcornerfeedback_{2}
  19. CountIf(Take[inputText, c, c] ≟ "*", c, 0…Length[inputText]) → countMal

AI Drawing Prompt Reference

Draw a rectangle to represent addition and multiplication of two numbers. First, generate 100 random numbers between 10 and 99, and randomly select one for the second number in multiplication and another for the first number in addition. Then, based on the input addition or multiplication expression, determine if it's correct and use a rectangle to highlight the correct answer. Finally, adjust the rectangle's position and size according to the number of plus or multiplication signs in the input expression.
The prompt above was compiled from the original drawing commands and is for reference only.