Ratio of Two Numbers

Ratio of Two Numbers
Loading the math board and drawing, please wait…
2018-05-22 11:57
This example demonstrates how to dynamically visualize the ratio between two numbers using GeoGebra. It involves core mathematical concepts such as ratio, Greatest Common Divisor (GCD), random number generation, and conditional statements (If). The construction utilizes commands like Random, GCD, If, along with objects like buttons and sliders for interactive exploration. Suitable for middle school and above, particularly for teaching probability & statistics and number theory concepts.

GeoGebra Commands & Parameters

  1. Random(4, 12) → b0
  2. Random(3, 12) → a
  3. GCD(a, b0) → hor
  4. If(hor > 1, b0 - 1, b0) → b
  5. Random(3, 12) → c
  6. Random(1, 4) → n
  7. If(d ≟ 1, "A", If[d ≟ 2, "B", If[d ≟ 3, "C", "D"]]) → text19
  8. If(n ≟ 1, "A", If[n ≟ 2, "B", If[n ≟ 3, "C", "D"]]) → text20