Find the LCM

Find the LCM
Loading the math board and drawing, please wait…
2018-02-25 05:29
This example demonstrates how to find the least common multiple (LCM) of two numbers using GeoGebra. Key mathematical concepts include number theory, specifically LCM and GCD. The construction involves commands such as Random, LCM, Textfield, If, Sequence, PrimeFactors, and GCD. Suitable for middle school and above students to learn about number theory.

GeoGebra Commands & Parameters

  1. Random(3, 20) → num2
  2. Random(2, 16) → num1
  3. LCM(num1, num2) → num3
  4. Textfield(num_{LCM}) → InputBox1
  5. If(num_{LCM} ≟ num3, "Good Job", "Sorry, try again") → check
  6. Sequence(num1, (more * num1), num1) → list1
  7. PrimeFactors(num1) → prime1
  8. PrimeFactors(num2) → prime2
  9. Sequence(num2, (more * num2), num2) → list2
  10. GCD(num1, num2) → num4
  11. If(num_{GCF} ≟ num4, "Good Job", "Try Again") → check_{GCF}
  12. Textfield(num_{GCF}) → InputBox2