Interactive 'Between-ness' with Rational Numbers

Interactive 'Between-ness' with Rational Numbers
Loading the math board and drawing, please wait…
2017-10-31 22:39
① This example randomly generates two rational numbers and asks the user to input a number that lies between them, visually demonstrating the density of rational numbers on the number line—between any two distinct rationals there is always another rational. ② Core mathematical concepts include comparing rational numbers, interval logic, and the property of density for rationals, involving fractions, numerators, and denominators. ③ Construction highlights: using GeoGebra commands Random to generate numerator and denominator (Rnum, Rdenom), If to check whether the user's input (yourNum) lies between the two random numbers a and b; the interface includes text fields (Textfield), input boxes (InputBox1, InputBox2), a button (button1), and multiple text objects (text1–text5) to display the problem and feedback. ④ Suitable for middle school mathematics when learning rational numbers, and useful as an interactive classroom activity or self-paced practice to reinforce the concept of density and interval membership.

GeoGebra Commands & Parameters

  1. Random(1, 19) → Rnum
  2. Random(5, 20) → Rdenom
  3. Textfield(trialP) → InputBox1
  4. Textfield(trialQ) → InputBox2
  5. If(a, 10, 20) → RdenomTop