The Three Jugs Problem

Two friends who have an eight-quart jug of water wish to share it evenly. They also have two empty jars, one holding five quarts, the other three. How can they each measure exactly 4 quarts of water?

alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." Your browser is completely ignoring the <APPLET> tag!

This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Buy this applet
What if applet does not run?

To pour water, first click on the "from" jug and then on the "to" jug. You can specify capacities of jugs by first checking the Capacity button. Subsequently click on the numbers below the glasses. Similarly, you may specify the initial quantities of water in each jug by first checking the Water button. (To increase a number click a little to the right of its vertical center line; to decrease it, click on the left.) A glass need not be full, but when pouring water there are two possibilities. Either the "to" glass becomes full, or the "from" glass becomes empty. To return to the puzzle check the Play button.

You can always take a move Back, or even Reset the puzzle to its starting point.

|Activities| |Contact| |Front page| |Contents| |Algebra| |Store|

Copyright © 1996-2015 Alexander Bogomolny

 49551870

Google
Web CTK