## Red Wine Puzzle

Anything goes, but keep it seemly...

### Red Wine Puzzle

The riddler wrote:You are selling red wine in a huge barrel. You only have 2 perfectly cylindrical containers made of crystal-clear glass (unmarked at all), which are of identical height and thickness of material. One has a capacity of 3 litres and the other 5 litres. You don't have any other container or any measurement tool such as a ruler.

The first customer comes in with a bucket (unmarked of course), and wants 4 litres of red wine. Should be easy for you...

Next comes a couple with their own bottles (also unmarked). The husband wants 400ml while the wife only wants 250ml.

The 4th is an old man with another unmarked bucket, also asking for 4 litres. But he's very picky and doesn't like his wine being poured over and over... As a matter of fact he wants the wine to come straight from the barrel to his bucket with your cylindrical containers holding his wine at most once...

Could you satisfy all your customers' requests by giving them accurate amounts of wine?

(Notes: All the buckets/bottles the customers brought are of unknown capacities but should be large enough to contain what each of them wants. Your customers do not have any measurement tool as well. Your barrel is also unmarked. The floor of your shop is perfectly flat and level.)
udosuk

Posts: 2698
Joined: 17 July 2005

Like you say, customer No.1 order is easy:

Fill the 5 litre container - fill the 3 litre container from the 5 litre container leaving 2 litres in the 5 litre container - empty this 2 litres into the bucket.

Repeat above for another 2 litres, empty into bucket, giving 4 litres in the bucket.

At the moment I don't think the couple wanting 400ml and 250ml litres of wine can be done without estimating amounts.
The lowest, accurate amount is 1 litre of wine.

The fourth customer I'll need to think about.

MCC
MCC

Posts: 1275
Joined: 08 June 2005

If the two cylinders are the same height, then one must be broader than the other. If you put the 3L one inside the 5L one, the space in between is 2L. Fill the space with wine twice and the grumpy guy has his 4L.

Bigtone53

Posts: 413
Joined: 19 September 2005

Gotcher! I won't spoil it for the others but I wondered why the floor was flat and level.
Bigtone53

Posts: 413
Joined: 19 September 2005

Bigtone53 wrote:If you put the 3L one inside the 5L one, the space in between is 2L.

Wouldn't the wall thickness of the inner make that less than 2L?
ronk
2012 Supporter

Posts: 4764
Joined: 02 November 2005
Location: Southeastern USA

Bigtone53 wrote:If the two cylinders are the same height, then one must be broader than the other. If you put the 3L one inside the 5L one, the space in between is 2L. Fill the space with wine twice and the grumpy guy has his 4L.

No no no... The internal space of the cylinders are 3L & 5L respectively, but if you put the 3L one inside the 5L one, it would probably occupy more than 3L (with the external body)... Therefore you'll get less than 2L... Try something else for the grumpy guy's 4L...

Since you've got a perfectly flat and level floor, you should be able to serve the couple's order accurately... For the picky old man it's a little tricky but with good skills and hand-eye coordination it could be done accrurately as well...

Technically speaking, MCC's method should be good enough for the old man's (4th customer) demand - you fill up 5L, pour 3L out, and the remaining 2L is held only once in the 5L cylinder... Let's think of a different method to serve the grumpy papa...

Most people would just do this for the 1st customer:
Code: Select all
`0/3 + 5/53/3 + 2/50/3 + 2/52/3 + 0/52/3 + 5/53/3 + 4/5`
udosuk

Posts: 2698
Joined: 17 July 2005

OK, I am happy to reconsider the grumpy old man but am satisfied on the couple (and interestingly, it seems that there being two of them is important). Do you want to hear the thoughts?
Bigtone53

Posts: 413
Joined: 19 September 2005

Bigtone53 wrote:OK, I am happy to reconsider the grumpy old man but am satisfied on the couple (and interestingly, it seems that there being two of them is important). Do you want to hear the thoughts?

From my own solutions, the couple's orders are served separately...
But I think you probably have a more innovative scheme...
Send me a PM and tell me all about it...
udosuk

Posts: 2698
Joined: 17 July 2005

I know that it's not exactly the solution (I'm assuming that the 2 bottles are the same ).

Let's call A (5L) and B (3L) and X,Y the 2 bottles
L(A), L(B) the levels of wine in A and B, L(X) and L(Y) in X,Y.
The numbers of liters are given after the op.
Code: Select all
`          A     B       X     Y3->B      0     3B->A      3     03->B      3     3B->A      5     1A->0      0     1B->A      1     0->B such that L(A)=L(B)           1     0.6B->X      1     0     0.6     0A->Y   such that L(X)=L(Y)         0.4    0     0.6     0.6X->0Y->0A->X      0     0     0.4     0->Y such that L(X)=L(Y)          0     0     0.4     0.4Y->A      0.4   0     0.4     0A->B such that L(A)=L(B)            0.25  0.15A->Y      0     0.15  0.4     0.25`

JPF
JPF
2017 Supporter

Posts: 3754
Joined: 06 December 2005
Location: Paris, France

JPF, right concept (partially), wrong scheme...

Rule 11.5.h of Staff Manual wrote:You can NEVER make use of any container (buckets, bottles, etc) from customers when serving their orders, except to hold the final, accurate amount of products... It could be unhygienic, the shape could be irregular to prevent accurate measurement, and there is no guarantee the container is large enough to hold any temporary amount of products.

For example, when you want to pour 600ml of red wine to a bottle brought from a customer buying 400ml, it could well turn out that the bottle is only large enough to hold 435ml of liquid.

Failure to observe this rule will result in a formal warning. Repeated violations will result in serious reprehension.

udosuk

Posts: 2698
Joined: 17 July 2005

udosuk wrote:Most people would just do this for the 1st customer:

0/3 + 5/5
3/3 + 2/5
0/3 + 2/5
2/3 + 0/5
2/3 + 5/5
3/3 + 4/5

But what to do with the 6 extra litres drawn from the barrel?

Having been exposed to bacteria in the air, it will again begin to ferment and turn to vinegar ... and returning the 6 litres to the barrel risks contaminating the entire barrel.
ronk
2012 Supporter

Posts: 4764
Joined: 02 November 2005
Location: Southeastern USA

For example, when you want to pour 600ml of red wine to a bottle brought from a customer buying 400ml, it could well turn out that the bottle is only large enough to hold 435ml of liquid.

They are a married couple so I am sure neither would mind the other's bottle being used to hold some of the 600 ml

Bigtone53

Posts: 413
Joined: 19 September 2005

Doh... My bad... I've put too much limitations on the puzzle, that at the end the whole setup falls apart...

To make the whole thing work again, I guess we have to specify that the barrel is sitting in an isolated cellar (with the flat level floor) free of any bacteria, that the staff would come in with the 2 cylinders, measure the correct amount (with any excessive wine poured back into the barrel)...

Of course, if the shop owner is a generous bloke like me, he'd allow his staff to drink up any excessive wine exposed to the bacteria in the air... Just don't ask me how someone could drink 3 litres of red wine in one go...
udosuk

Posts: 2698
Joined: 17 July 2005

Bigtone53 wrote:...They are a married couple so I am sure neither would mind the other's bottle being used to hold some of the 600 ml

They were married but not to each other, their respective partners were paranoid and would measure any wine brought back.

The wine seller, having been in business some time, could estimate how much wine would be needed on any particular day, if any remained, it would do for his/her supper.

I can get down to 0.5 litres, you could estimate amounts if you're allowed to mark the containers

MCC
MCC

Posts: 1275
Joined: 08 June 2005

MCC wrote:They were married but not to each other, their respective partners were paranoid and would measure any wine brought back.

All irrelevant details... But even between spouses, sharing bottles of wine is sometimes considered unhygienic...

MCC wrote:The wine seller, having been in business some time, could estimate how much wine would be needed on any particular day, if any remained, it would do for his/her supper.

No such estimation needed... Take a look at JPF's attempt... Make good use of your perfectly flat & level floor and the perfectly cylindrical shape of your cylinders...

MCC wrote:I can get down to 0.5 litres, you could estimate amounts if you're allowed to mark the containers

No you're not allowed to mark any containers or estimate any amounts whatsoever... If you can get down to 0.5 litres accurately you should be not far from the correct solution...
udosuk

Posts: 2698
Joined: 17 July 2005

Next