Jug Problem

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

Given two jugs of known capacities—say 3 and 5 gallons—and a well with an inexhaustible supply of water, determine how to obtain exactly one gallon of water by filling up or emptying the vessels into each other or back into the well. This Demonstration shows the steps necessary to achieve the desired goal. Adjust the slider to control the relative capacities of the jugs.

Contributed by: Oleksandr Pavlyk and Dmytro Lukhtai (March 2011)
Open content licensed under CC BY-NC-SA


Snapshots


Details

detailSectionParagraph


Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send