View Single Post
Old 03-28-2006, 01:37 PM   #13
Laserschwert
 
Laserschwert's Avatar
 
Join Date: Mar 2002
Location: Cologne, Germany
Posts: 1,076
Notable contributor 
Quote:
Originally Posted by Joshi
Hell, if anything, it'll just give the sinister men a headache.

Okay, now I never got how John McClane did this (or whether I actually spelled his name right) so I give this to you.

You have a 5 gallon bucket and a 3 gallon bucket. How would you go about getting exactly 4 gallons of water into the 5 gallon bucket?
This is easy:

Fill the 5 gallon bucket completely...

Put as much water from the 5 gallon bucket in to the 3 gallon bucket, until that one's full (3 gallons), now you've got 2 gallons left in the 5 gallon bucket.

Empty the 3 gallon bucket, and put the 2 gallons that are left in the 5 gallon bucket into it.

Now, fill the 5 gallon bucket completely again.

Put as much water from the 5 gallon bucket into the 3 gallon bucket, until that one's full again (it was missing 1 gallon).

Now you're left with exactly 4 gallons in the 5 gallon bucket.

(Oh, and yes, you spelled his name correctly ;-) )

Laserschwert is offline   you may: quote & reply,