Three Fraction Bars: Visualizing and Comparing Fractions

Three Fraction Bars: Visualizing and Comparing Fractions
Loading the math board and drawing, please wait…
2018-05-16 15:07
This example demonstrates the visualization and comparison of three fraction bars. It covers core math concepts such as fraction meaning, magnitude comparison, and number-shape combination. Construction utilizes Sequence commands for generation, If conditions for display logic, and Rectangle objects with text for interactive elements. Suitable for upper elementary or middle school math education to aid intuitive understanding of fractions.

GeoGebra Commands & Parameters

  1. Sequence(Polygon[(Cx + (len1 * (k - 1)), Cy + Move1), (Cx + (len1 * (k - 1)), Cy + Wid + Move1), (Cx + (len1 * k), Cy + Wid + Move1), (Cx + (len1 * k), Cy + Move1)], k, 1, D1) → RecD1
  2. Sequence(Polygon[(Cx + (len1 * (k - 1)), Cy + Move1), (Cx + (len1 * (k - 1)), Cy + Wid + Move1), (Cx + (len1 * k), Cy + Wid + Move1), (Cx + (len1 * k), Cy + Move1)], k, 1, N1) → RecN1
  3. If(ShowChi, "滑桿2", "Slider 2") → Move2Text
  4. Sequence(Polygon[(Cx + (len2 * (k - 1)), Cy + Sp + Move2), (Cx + (len2 * (k - 1)), Cy + Wid + Sp + Move2), (Cx + (len2 * k), Cy + Wid + Sp + Move2), (Cx + (len2 * k), Cy + Sp + Move2)], k, 1, D2) → RecD2
  5. Sequence(Polygon[(Cx + (len2 * (k - 1)), Cy + Sp + Move2), (Cx + (len2 * (k - 1)), Cy + Wid + Sp + Move2), (Cx + (len2 * k), Cy + Wid + Sp + Move2), (Cx + (len2 * k), Cy + Sp + Move2)], k, 1, N2) → RecN2
  6. Sequence(Polygon[(Cx + (len3 * (k - 1)), Cy + (2 * Sp) + Move3), (Cx + (len3 * (k - 1)), Cy + Wid + (2 * Sp) + Move3), (Cx + (len3 * k), Cy + Wid + (2 * Sp) + Move3), (Cx + (len3 * k), Cy + (2 * Sp) + Move3)], k, 1, D3) → RecD3
  7. Sequence(Polygon[(Cx + (len3 * (k - 1)), Cy + (2 * Sp) + Move3), (Cx + (len3 * (k - 1)), Cy + Wid + (2 * Sp) + Move3), (Cx + (len3 * k), Cy + Wid + (2 * Sp) + Move3), (Cx + (len3 * k), Cy + (2 * Sp) + Move3)], k, 1, N3) → RecN3
  8. Sequence(Polygon[(Cx + (len4 * (k - 1)), Cy + (3 * Sp) + Move4), (Cx + (len4 * (k - 1)), Cy + Wid + (3 * Sp) + Move4), (Cx + (len4 * k), Cy + Wid + (3 * Sp) + Move4), (Cx + (len4 * k), Cy + (3 * Sp) + Move4)], k, 1, D4) → RecD4
  9. Sequence(Polygon[(Cx + (len4 * (k - 1)), Cy + (3 * Sp) + Move4), (Cx + (len4 * (k - 1)), Cy + Wid + (3 * Sp) + Move4), (Cx + (len4 * k), Cy + Wid + (3 * Sp) + Move4), (Cx + (len4 * k), Cy + (3 * Sp) + Move4)], k, 1, N4) → RecN4
  10. If(ShowChi, "本課業可顯示分母是2至12的真分數。", "This applet can represent fractions with denominators ranging from 2 to 12.") → Note1
  11. If(ShowChi, "可用滑桿移動分數條。", "Move the fraction bars by using the sliders.") → Note2
  12. If(ShowChi, "滑桿1", "Slider 1") → Move1Text
  13. If(ShowChi, "滑桿3", "Slider 3") → Move3Text
  14. If(ShowChi, "滑桿4", "Slider 4") → Move4Text
  15. If(ShowChi, "分子", "N") → TextN4
  16. If(ShowChi, "分母", "D") → TextD4
  17. If(ShowChi, "分子", "N") → TextN3
  18. If(ShowChi, "分母", "D") → TextD3
  19. If(ShowChi, "分子", "N") → TextN2
  20. If(ShowChi, "分母", "D") → TextD2
  21. If(ShowChi, "分子", "N") → TextN1
  22. If(ShowChi, "分母", "D") → TextD1
  23. If(ShowChi, "顯示 / 隱藏分數", "Show / Hide Fractions") → TextShowFrac
  24. If(ShowChi, "三個分數的圖示 (著色部份佔全圖的幾分之幾)", "Drawings of three fractions (Coloured part(s) of the whole figure)") → Title

AI Drawing Prompt Reference

Create three fraction bars to visualize and compare fractions. Each bar consists of multiple rectangles, with sliders controlling the display length of each colored section to represent different fractions. The bars are arranged sequentially, each labeled with text showing the numerator and denominator, and sliders allow adjusting the display proportion of each bar for intuitive understanding of fraction comparison and combination.
The prompt above was compiled from the original drawing commands and is for reference only.