Three Jugs Puzzle

Divide the water equally into two jugs

8 liters
Click a tap to pour.
Click a jug to attach the taps.

1. Abbot Albert wrote a version of this puzzle around 1240. [5]
2. Niccolò Fontana Tartaglia wrote a version of this puzzle in the 1500s. [4]
3. In the film Die Hard With a Vengeance (1995), New York City Police Lieutenant John McClane (Bruce Willis) and shopkeeper Zeus Carver (Samuel L. Jackson) team up and solve a variation of this puzzle to stop a bomb from exploding.
4. Professor Stewart's Hoard of Mathematical Treasures (2010), by Ian Stewart.
5. Rediscovering Mathematics: You Do the Math (2011), by Shai Simonson.