Double Number Line

Double Number Line
Loading the math board and drawing, please wait…
2017-01-07 06:46
This example demonstrates how to create a double number line using ratios. It illustrates the representation and comparison of different quantities using ratios, percentages, and similarity transformations. Key math concepts include ratios, percentages, and similarity transformations. Construction highlights involve GeoGebra commands like If, Point, Segment, Textfield, Sequence, Text, Vector, Mirror, and objects such as q2, roundingFactorDNL2values, q2rnd, length, slidePt, q1, roundingFactorDNL1values, q1rnd, a, h, b, A, B, DNL2ArrowPt, DNL1ArrowPt, lineDNL1, lineDNL2, xOffSet, yOffSet, topxOffSet, q1labelForLengthAlwaysShow, q2labelForLengthAlwaysShow, q1blabelInput, q2blabelInput, E, F, G, H, q1avalueInput, q2avalueInput, myRatioIs, to, helpButton, helpCk, helpQ1value, helpQ1label, helpQ2label, helpQ2value, q2labelDNL. Suitable for middle school and above mathematics education, teaching concepts like ratios, percentages, and similarity transformations.

GeoGebra Commands & Parameters

  1. If(q2 < 100, 100, If[q2 < 500, 10, 1]) → roundingFactorDNL2values
  2. If((q2 ≥ 0) ∧ (q2 ≤ 0.1), 0.1, round((roundingFactorDNL2values * q2)) / roundingFactorDNL2values) → q2rnd
  3. Point(Segment[(0, 0.85), (4.3, 0.85)]) → slidePt
  4. If(q1 < 100, 100, If[q1 < 500, 10, 1]) → roundingFactorDNL1values
  5. If((q1 ≥ 0) ∧ (q1 ≤ 0.1), 0.1, If[q1 < 25, round((100 * q1)) / 100, If[q1 < 75, round((10 * q1)) / 10, If[q1 > 100, 100, round(q1)]]]) → q1rnd
  6. Segment(A, DNL2ArrowPt) → lineDNL1
  7. Segment(B, DNL1ArrowPt) → lineDNL2
  8. Textfield(q1labelForLengthAlwaysShow) → q1blabelInput
  9. Textfield(q2labelForLengthAlwaysShow) → q2blabelInput
  10. Textfield(q1) → q1avalueInput
  11. Textfield(q2) → q2avalueInput
  12. Segment(slidePt + (0, 1.7), slidePt - (0, 1.75)) → slideSeg
  13. Sequence(((length * k), h), k, 0, 4) → hashMajorDNL2
  14. Sequence(((length * k), 0), k, 0, 4) → hashMajorDNL1
  15. Textfield(locationXq1) → locationXq1Input
  16. Textfield(locationXq2) → locationXq2Input
  17. Sequence((k, 0), k, 0, 4.3, length / hatchMinor) → hashMinorDNL1
  18. Sequence((k, h), k, 0, 4.3, length / hatchMinor) → hashMinorDNL2
  19. Sequence(Text[(p * q2), ((length * p) + xOffSet, y(A) - (1.7 * yOffSet))], p, 2, 4) → hashMarkValuesTextDNL2
  20. Sequence(Text[(q * q1), ((length * q) + topxOffSet, y(B) + yOffSet)], q, 2, 4) → hashMarkValuesTextDNL1
  21. Text(0, (x(A) - 0.035, y(A) - (1.7 * yOffSet))) → zeroDNL2
  22. Text(0, (x(B) - 0.035, y(B) + yOffSet)) → zeroDNL1
  23. Vector(instructionsArrowsPt, (1.4187, -2.68926)) → instructionsArrow2_{legacy}
  24. Vector(instructionsArrowsPt, (0.28383, -2.65534)) → instructionsArrow1_{legacy}
  25. Mirror(instructionsArrow1_{legacy}, x = x(instructionsArrowsPt)) → instructionsArrow3_{legacy}
  26. Mirror(instructionsArrow2_{legacy}, x = x(instructionsArrowsPt)) → instructionsArrow4_{legacy}

AI Drawing Prompt Reference

Draw two parallel number lines to represent different ratios, mark values with scales on the axes, display values and ratios with text labels, and indicate directions and proportional relationships with arrows.
The prompt above was compiled from the original drawing commands and is for reference only.