Water clocks puzzle
Mar. 1st, 2006 01:10 pmPuzzle: I have two identical cylindrical lemonade bottles I punched small holes into the sides of, just above the bottom1. I find that when I fill them each with water the first empties in 225 seconds and the second more quickly in 75 seconds. Without any other form of measurement, how do I use them to time 25 seconds?
Q. That's just one of those hourglass/numerology puzzles. If one hourglass empties in time p minutes, and the second in time q, then calculate p-1 mod q, and you know pp-1=1 (mod q) so pp-1=1+nq. Run glass Q n times and glass P p-1 times; when the first has finished you have exactly one minute before the second does.
A. If you think that's easy, try it.
Q. It's a trick, isn't it.
A. Probably.
Q. Tilt one of the bottles...
A. If you like. They *are* cylindrical, so you *can* halve the amount of water by tilting them until the water only just covers the base, if you think it'll help.
Q. I could use a...
A. No other equipment is necessary. You can use additional vessels of unknown size if you want to.
Q. How quickly did you solve it?
A. Actually, I made the puzzle up myself last night.
Q. Are you sure your solution works?
A. I may be mistaken. In which case I apologise, and promise to feel very embarassed.
Q. Do I need to use much maths for this?
A. Some. Nothing not taught at A-level IIRC.
Q. Can I find a different solution?
A. I don't think so, but try; it might be better.
[-1] That's not a footnote, that means 'inverse of p'
[1] Really.
Q. That's just one of those hourglass/numerology puzzles. If one hourglass empties in time p minutes, and the second in time q, then calculate p-1 mod q, and you know pp-1=1 (mod q) so pp-1=1+nq. Run glass Q n times and glass P p-1 times; when the first has finished you have exactly one minute before the second does.
A. If you think that's easy, try it.
Q. It's a trick, isn't it.
A. Probably.
Q. Tilt one of the bottles...
A. If you like. They *are* cylindrical, so you *can* halve the amount of water by tilting them until the water only just covers the base, if you think it'll help.
Q. I could use a...
A. No other equipment is necessary. You can use additional vessels of unknown size if you want to.
Q. How quickly did you solve it?
A. Actually, I made the puzzle up myself last night.
Q. Are you sure your solution works?
A. I may be mistaken. In which case I apologise, and promise to feel very embarassed.
Q. Do I need to use much maths for this?
A. Some. Nothing not taught at A-level IIRC.
Q. Can I find a different solution?
A. I don't think so, but try; it might be better.
[-1] That's not a footnote, that means 'inverse of p'
[1] Really.
no subject
Date: 2006-03-01 01:45 pm (UTC)no subject
Date: 2006-03-01 01:52 pm (UTC)This is the maths I was doing: a drip is constant, but if it's ejected under pressure I think it isn't. And I hope I haven't messed up the maths.
If I'm right I should have chosen the numbers so your solution didn't work, but I didn't think to.
no subject
Date: 2006-03-01 02:07 pm (UTC)In that case the volume remaining in the slow bottle won't be 1/3 of its total volume; but it will still be the correct volume to empty out of the slow bottle in 75 seconds. Therefore, assuming that the fast bottle empties at an instantaneous rate three times that of the slow bottle when they're equally full (which seems reasonable in spite of the nonlinearity you mention), it should still be the right amount to empty out of the fast bottle in 25 seconds.
no subject
Date: 2006-03-01 02:21 pm (UTC)no subject
Date: 2006-03-01 02:07 pm (UTC)You want 1/3 of 75. 75 is 1/3 of 225. Run the 75 one through twice while the 225 one is running. When the 75 one finishes the second time, mark how much water is left on the 225 one. Make a mark at the same height on the 75 one, and that shows you the level for 1/3 of the time.
no subject
Date: 2006-03-01 02:16 pm (UTC)no subject
Date: 2006-03-01 02:19 pm (UTC)no subject
Date: 2006-03-01 02:24 pm (UTC)Trial and error will probably satisfy you that you couldn't solve this problem if you had two hourglasses that took 75s and 275s.
Admittedly, my expected answer involved integration and newton's second law, so someone who wasn't good at A-level maths probably wouldn't be able to do it even if they'd studied the things once; for that I apologise.
no subject
Date: 2006-03-01 02:28 pm (UTC)no subject
Date: 2006-03-01 02:32 pm (UTC)no subject
Date: 2006-03-01 07:03 pm (UTC)no subject
Date: 2006-03-01 07:08 pm (UTC)no subject
Date: 2006-03-01 08:32 pm (UTC)no subject
Date: 2006-03-02 12:05 am (UTC)Ciphers as in where you take A and add 2 to get C and also you take Z and add 2 to get B, that's modulo 26.
It's also a key component of RSA, but we didn't do that in school.
no subject
Date: 2006-03-02 12:12 am (UTC)no subject
Date: 2006-03-02 12:59 am (UTC)no subject
Date: 2006-03-02 12:12 am (UTC)I don't know if you *care* but I'm bored. Clock (aka modulo) arithmetic is where you count 1,2,3,4,5,6,7,8,9,10,11,12,1,2,3... For instance, 11+2=1. This is mod 12.
Another way of saying the same thing, this time for mod 10 now. Think about long addition, and just watch the units digits. 9+1=10, but we're just looking at the right hand column, so 10 is the same thing as 0.
This is the normal formal definition, two numbers are the "congruent mod 11" if they differ by a multiple of 11. Now we can multiply.
Division is trickier. Always think "x divided by two means 'the number which, when doubled, is x.'" Sometimes this doesn't exist. In mod 10, none of the digits double to give 3.
But modulo prime numbers, you always will be able to divide (aka it is a group). This isn't completely obvious, but is true. This becomes very important in cryptography because multiplying things is easy (do long multiplication and discard all the multiples of the modulo number), but dividing things is hard (you basically have to try all possibilities).
It's useful for hourglasses, because if they run down in times p and q, where q is bigger and a prime number, then "you must be able to divide by p" which turns out to be the same as saying "you can multiply p by something to get very close to a multiple of q", which translates into "Run this hourglass several times, and that one two, and eventually they will finish close together, ie. 1 min apart"
We cuold have done that without the modulo arithmetic, it might even have been easier. But saying modulo is funnier to mathmos :)
not really a solution as it uses extra equipment, but...
Date: 2006-03-01 03:39 pm (UTC)Re: not really a solution as it uses extra equipment, but...
Date: 2006-03-01 03:59 pm (UTC)no subject
Date: 2006-03-01 05:57 pm (UTC)I suppose I should apply IB fluid dynamics to what would happen if you made the hole 3rd of the size, but then I'd have to charge you :)
no subject
Date: 2006-03-01 06:10 pm (UTC)A1. That wasn't the question asked.
A2. If you want me to provide a rationale, pretend I happen to have a 225 second egg timer. I can't use that to measure any intermediate time.
A3. I can 75 seconds with the water, I want to time 25 ;)
I suppose I should apply IB fluid dynamics to what would happen if you made the hole 3rd of the size,
I thought of you two, actually, when I was working out the rate of flow. I calculated that the velocity expelled should be proportional to the square root of the height of water, and the time taken to the square root of the initial height -- but I wasn't sure if you'd left simple non-turbulent flows like behind :)
but then I'd have to charge you :)
*flourishes red flag*