Double Number Line Ratio Construction
Loading the math board and drawing, please wait…
This example demonstrates the creation of a double number line using ratio relationships, providing a visual tool for comparing values proportionally. Key mathematical concepts include ratios, number lines, percentages, and numerical correspondence, making it ideal for foundational lessons in middle or high school mathematics. The construction leverages GeoGebra commands such as If, Point, Segment, Sequence, and Vector, with objects like sliders (q1, q2) and lines (lineDNL1, lineDNL2) enabling interactive adjustments. It is suited for teaching proportional reasoning, coordinate geometry basics, and dynamic graphing techniques in educational settings.
GeoGebra Commands & Parameters
If(q2 < 100, 100, If[q2 < 500, 10, 1]) → roundingFactorDNL2valuesIf(q2 ≥ 0 ∧ q2 ≤ 0.1, 0.1, round((roundingFactorDNL2values * q2)) / roundingFactorDNL2values) → q2rndPoint(Segment[(0, 0.85), (4.3, 0.85)]) → slidePtIf(q1 < 100, 100, If[q1 < 500, 10, 1]) → roundingFactorDNL1valuesIf(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)]]]) → q1rndSegment(A, DNL2ArrowPt) → lineDNL1Segment(B, DNL1ArrowPt) → lineDNL2Textfield(q1labelForLengthAlwaysShow) → q1blabelInputTextfield(q2labelForLengthAlwaysShow) → q2blabelInputTextfield(q1) → q1avalueInputTextfield(q2) → q2avalueInputSegment(slidePt + (0, 1.7), slidePt - (0, 1.75)) → slideSegSequence(((length * k), h), k, 0, 4) → hashMajorDNL2Sequence(((length * k), 0), k, 0, 4) → hashMajorDNL1Textfield(locationXq1) → locationXq1InputTextfield(locationXq2) → locationXq2InputSequence((k, 0), k, 0, 4.3, length / hatchMinor) → hashMinorDNL1Sequence((k, h), k, 0, 4.3, length / hatchMinor) → hashMinorDNL2Sequence(Text[(p * q2), ((length * p) + xOffSet, y(A) - (1.7 * yOffSet))], p, 2, 4) → hashMarkValuesTextDNL2Sequence(Text[(q * q1), ((length * q) + topxOffSet, y(B) + yOffSet)], q, 2, 4) → hashMarkValuesTextDNL1Text(0, (x(A) - 0.035, y(A) - (1.7 * yOffSet))) → zeroDNL2Text(0, (x(B) - 0.035, y(B) + yOffSet)) → zeroDNL1Vector(instructionsArrowsPt, (1.4187, -2.68926)) → instructionsArrow2_{legacy}Vector(instructionsArrowsPt, (0.28383, -2.65534)) → instructionsArrow1_{legacy}Mirror(instructionsArrow1_{legacy}, x = x(instructionsArrowsPt)) → instructionsArrow3_{legacy}Mirror(instructionsArrow2_{legacy}, x = x(instructionsArrowsPt)) → instructionsArrow4_{legacy}
AI Drawing Prompt Reference
Draw two parallel number lines to represent ratio relationships. The first line should have markings from 0 to 4, while the second line adjusts its tick density based on the value of slider q2 and displays corresponding values. Use slider q1 to adjust the position of markings on the first line and show the corresponding values. Add tick marks and value labels to both lines for proportional comparison.
The prompt above was compiled from the original drawing commands and is for reference only.