Practice Plus & Minus Fractions

Practice Plus & Minus Fractions
Loading the math board and drawing, please wait…
2018-05-17 22:39
This example demonstrates practice in adding and subtracting fractions. Key mathematical concepts include basic operations with fractions. Using GeoGebra commands such as Random, If, GCD, LCM, etc., dynamic fraction addition and subtraction problems are generated, helping students understand and master fraction addition and subtraction. Suitable for high-grade elementary and junior high school students.

GeoGebra Commands & Parameters

  1. Random(6, 12) → d1
  2. Random(-11, 12) → c1
  3. If(c1 ≟ 0, -12, c1) → c2
  4. GCD(c2, d1) → h2
  5. Random(6, 12) → b1
  6. Random(-11, 12) → a1
  7. If(a1 ≟ 0, -12, a1) → a2
  8. GCD(a2, b1) → h1
  9. LCM(b, d) → cor
  10. If(a > 0, "", "-") → s1
  11. If(c > 0, "", "-") → s2
  12. If(b ≟ 1, "" + s1 + aba, text1) → text3
  13. If(d ≟ 1, "" + s2 + abc, text2) → text4
  14. If(a > 0, text3, "(" + text3 + ")") → text5
  15. If(c > 0, text4, "(" + text4 + ")") → text6
  16. If(h > 0, "" + h, "(" + h + ")") → text11
  17. If(m ≟ 1, g + h, g - h) → i
  18. FractionText(i / cor) → t1
  19. Mod(abs(i), cor) → j
  20. GCD(j, cor) → l
  21. FractionText(j / cor) → text16
  22. If(i > 0, "", "-") → s3
  23. If(m ≟ 1, "+", "-") → sig
  24. FractionText(i2 / cor) → t2
  25. FractionText(i3 / cor) → t3
  26. FractionText(i4 / cor) → t4
  27. Random(1, 4) → p
  28. If(r ≟ 1, "ก.", If[r ≟ 2, "ข.", If[r ≟ 3, "ค.", "ง."]]) → text28
  29. If(p ≟ 1, "ก.", If[p ≟ 2, "ข.", If[p ≟ 3, "ค.", "ง."]]) → text29

AI Drawing Prompt Reference

Draw a dynamic practice problem for adding or subtracting two fractions, including the result of the addition or subtraction and their least common multiple. First, generate the numerators and denominators of the two fractions, then calculate their greatest common divisor and least common multiple, and finally generate the result based on the addition or subtraction operation and display it.
The prompt above was compiled from the original drawing commands and is for reference only.