2 Jug Puzzle (Difficulty Selectable)

2 Jug Puzzle (Difficulty Selectable)
Loading the math board and drawing, please wait…
2020-09-28 21:59
This interactive 2 jug puzzle allows users to choose from different difficulty levels. Using GeoGebra commands like Polygon, Point, PathParameter, etc., it visually demonstrates how to solve the puzzle by pouring water. Suitable for middle school and above students to learn combinatorial mathematics strategies and algorithms.

GeoGebra Commands & Parameters

  1. Polygon((10, -5), (14, -5), (14, 0), (10, 0)) → qdump, m, n, p, q
  2. Polygon(A_1, B_1, C_1, D_1) → q1, a, b, c, d
  3. Point(b, f1) → F_1
  4. PathParameter(F_1) → e
  5. Point(d, 1 - f1) → E_1
  6. Polygon(A_1, B_1, F_1, E_1) → j1, a_1, b_1, f, e_1
  7. Polygon(A_2, B_2, C_2, D_2) → q2, a_2, b_2, c_2, d_2
  8. Point(b_2, f2) → F_2
  9. Point(d_2, 1 - f2) → E_2
  10. Polygon(A_2, B_2, F_2, E_2) → j2, g, h, f_2, e_2
  11. Polygon(A, B, C, D) → q3, a_3, b_3, c_1, d_1
  12. Polygon(Corner[1, 1], Corner[1, 2], Corner[1, 3], Corner[1, 4]) → qall, i, j, k, l
  13. If(v1 ≟ Element[listVolumeToObtain, SelectedIndex[listLevels]] ∨ v2 ≟ Element[listVolumeToObtain, SelectedIndex[listLevels]], true, false) → success
  14. Point(n, (fout * 0.2)) → F_d
  15. Point(q, 1 - (fout * 0.2)) → E_d
  16. Polygon((10, -5), (14, -5), F_d, E_d) → qdwater, r, s, f_d, e_d
  17. Segment((0, 0), (10, 0)) → t

AI Drawing Prompt Reference

Draw two side-by-side rectangular jug frames on a plane, each as a closed polygon outline. On the vertical sides of each frame, mark two points that represent the endpoints of a variable water surface height. Connect these points with the corresponding jug corners to form the filled cross-sectional polygon for each jug. Add an additional filled polygon section that reflects a second water level configuration by using a related pair of height-dependent points on the same sides, illustrating pouring positions. Finally, include a horizontal reference segment from the origin to the right.
The prompt above was compiled from the original drawing commands and is for reference only.