Multiplying Mixed Numbers by Paul Walter

Multiplying Mixed Numbers by Paul Walter
Loading the math board and drawing, please wait…
2016-01-31 22:30
This example demonstrates how to multiply mixed numbers using GeoGebra. Key mathematical concepts include fraction multiplication. Using commands like Random, Textfield, Vector, and Translate, users can dynamically input and manipulate mixed numbers to observe the multiplication process. Suitable for upper elementary and middle school students learning fraction operations.

GeoGebra Commands & Parameters

  1. Random(1, 10) → d
  2. Random(1, 10) → b
  3. Random(1, (10 * b)) → a
  4. Random(1, (10 * d)) → c
  5. mieszany(a, b) → firstFrac
  6. mieszany(c, d) → secondFrac
  7. Textfield(answerText) → InputBox1
  8. mieszany((a * c), (b * d)) → correctAnswer
  9. Corner(calculation, 3) → ansStartPos
  10. IndexOf("\", Text[correctAnswer]) → CAposBackslash
  11. IndexOf("}", Text[correctAnswer]) → CAposDenom
  12. Take(Text[correctAnswer], CAposBackslash + 6, CAposDenom - 1) → CAtextNum
  13. Take(Text[correctAnswer], CAposDenom + 2, Length[Text[correctAnswer]] - 2) → CAtextDen
  14. IndexOf(" ", Text[correctAnswer]) → CAposSpace
  15. If(Defined[CAposSpace], If[CAposSpace ≟ 1, "", Take[Text[correctAnswer], 1, CAposSpace]], Text[correctAnswer]) → CAtextInt
  16. If(Defined[CAposSpace], CAtextInt + CAtextNum + "/" + CAtextDen, CAtextInt) → CAasText
  17. IndexOf(" ", answerText) → AspacePos
  18. IndexOf("/", answerText) → AslashPos
  19. Defined(AspacePos) → AhasSpace
  20. Defined(AslashPos) → AhasSlash
  21. If(AhasSpace, Take[answerText, 1, AspacePos - 1], If[AhasSlash, "0", answerText]) → AtextInt
  22. Polygon((0, 0), (floor(a / b), 0), (floor(a / b), floor(c / d)), (0, floor(c / d))) → poly1, g, h, i, j
  23. Polygon((0, 0), (ceil(a / b), 0), (ceil(a / b), ceil(c / d)), (0, ceil(c / d))) → poly2, e, f, k, l
  24. Polygon((0, 0), (a / b, 0), (a / b, c / d), (0, c / d)) → poly3, n, p, q, r
  25. Midpoint(n) → firstFracPos
  26. Midpoint(r) → secFracPos
  27. If(AhasSlash, If[AhasSpace, Take[answerText, AspacePos + 1, AslashPos - 1], Take[answerText, 1, AslashPos - 1]], "0") → AtextNum
  28. If(AhasSlash, Take[answerText, AslashPos + 1, Length[answerText]], "1") → AtextDen
  29. Vector(Corner[text4, 1], Corner[text4, 4]) → leftPos
  30. Vector(Corner[text4, 3], Corner[text4, 4]) → leftPos2
  31. Translate(secFracPos, Vector[leftPos / 2 + leftPos2]) → modifiedPos
  32. Vector(Corner[text3, 2], Corner[text3, 1]) → v
  33. Translate(firstFracPos, Vector[v / 2]) → firstFracPos'

AI Drawing Prompt Reference

Create a dynamic illustration showing the multiplication of two mixed numbers. Display two randomly generated mixed numbers as rectangles, with distinct colors for integer and fractional parts. Calculate and visualize their product with a different color. Include a text box for inputting the answer, and dynamically update the display of the correct answer to match the calculation and the visual representation.
The prompt above was compiled from the original drawing commands and is for reference only.