Puzzle: splitting 8 gallons into halves

If nowhere else, you might have come across this in the third “Die Hard” movie. We have 3 containers, of volumes 8, 5, and 3 gallons. The 8-gallon container is full. Using only the 3- and 5-gallon containers, split the contents evenly: 4 gallons in the 8-gallon container, and 4 gallons in the 5-gallon container.

If you don’t want to see a solution, move along, quickly.
Read the rest of this entry »