Number Crunching

As far as it goes, I made that problem up on the spot based on something from my calculus book. I haven't the faintest clue what the real answer would be.
 

My Computer

Computer Manufacturer/Model Number
Zen Productions
OS
Windows 7 Ultimate x64
CPU
Intel i7-860
Motherboard
Gigabyte GA-P55A-UD4P
Memory
Corsair Dominator 1600Mhz, 8-8-8-24 1.65v 2x2GB
Graphics Card(s)
ATI Radeon 5770 HD
Sound Card
Intel High Definition Sound
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Western Digital Caviar Black 500gb
PSU
Corsair CMPSU-750HX 750W
Case
Antec p183
Cooling
Corsair H50 Water Cooler
Keyboard
Logitech G110
Mouse
Logitech MX Revolution
Internet Speed
768 mb/s
Since you all are enjoying math then how about this one?

A bucket has a hole in it. The water flows out of that hole at a rate of 2 gallons per minute. How big is the hole?

It doesn't matter how big the hole is. The hole is actually the missing bottom of the bucket. So, in effect, the bucket is a tube. In order to get water flowing out at 2 gallons a minute, then water needs to be flowing in at the same rate. This condition will be met so long as the diameter of the bucket is equal to or greater than that of the pipe supplying the water.

Actually that's not quite true although you've got the "tube" bit right -- the volume of this is essentially the volume of cylinder - so it's relatively simple maths to work out the cylinder dimensions to solve the problem. (Again assuming an incompressible liquid - not a gas - and assume normal atmospheric pressure). There's no EXACT answer as some calculus will be required but my answer is a good practical correct one.

Imagine an infinitely large bucket that already contains a huge volume of water. A 100 gallon one is a good example here.

At 2 gals a minute it should take around around 50 mins to empty the bucket with no water coming in -- we can ignore the effects of the water pressure here as it will be relatively constant over the lifetime of this problem.

You could have larger bucket which is supplied at > 2 gals a min ( or < 2 gals a min).
The outflow doesn't depend on the rate of inflow (until the bucket is empty of course).

Actually to SUPPLY the bucket at 2 gallons a minute you've got a similar problem - the answer is the same as the pipe needs to be 1/2 inch approx.

(Ok you could have a 6 inch diameter pipe or anything > 1/2 inch SUPPLYING the water but I assume the problem meant what's the SMALLEST size that would do the job and we are considering the OUTFLOW).

a 1/2 inch hole will do the trick -- try it and see with say a 5 litre gas can - drill a 1/2 inch hole in it - fill it up with water and see how long it takes to empty. Convert US gals to litres and you should come up with the magic answer 2.2 gals / min requires a 1/2 inch diameter pipe. (Of course if you increase the pressure significantly you might get a bit more but I assume here that the water is flowing at approx 1 Bar (1 Atm) pressure.

(And this is AFTER I've just come back from the pub - now having a look again at Man Utd's win today -- back at the top of the league).


Cheers
jimbo
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
2 + 2 = 5....

~Lordbob
 

My Computer

Computer Manufacturer/Model Number
Hera
OS
Windows 7 Ultimate x64, Mint 9
CPU
Intel i5-2500k
Motherboard
ASUS P8P67 Pro
Memory
2x 4Gb Corsair VENGEANCE DDR3-1600
Graphics Card(s)
NVidia GeForce N260GTX Twin Frozr
Sound Card
Realtek HD OnBoard Audio
Monitor(s) Displays
ASUS 24" Monitor
Screen Resolution
1920x1080
Hard Drives
G.SKILL Phoenix Series 60GB SATA II MLC Internal Solid State Drive (SSD)
SAMSUNG Spinpoint F3R 1TB 7200 RPM 32MB Cache SATA II
PSU
Cooler Master Real Power Pro 750W
Case
Cooler Master Haf 932
Cooling
Fans
Keyboard
Razer Tarantula
Mouse
Razer Lachesis
Internet Speed
not fast enough
For the original question

Count down the digits on left hand 10-9-8-7-6 then add the right hand

6 + 5 = 11
Ya can't do that - you're starting with an arbitrary number, 10 in this case.

You could start with any arbitrary number to count down, say 25. Then the countdown would be:
25, 24, 23, 22, 21.

Of course we can't add 5 more fingers of the other hand to the 21, to yield 26...

The solution to get the correct amount of digits would be:

(n2 - n1) + 1 = amount of digits.

(25 - 21) + 1 = 5, just as the other (10) countdown:
(10 - 6) + 1 = 5...

Then and only then, we can add the 5 more to get the ? how-ever many...

I've seen snags like this with 'buffer-sizes', where the +1 wasn't done:

(Last_index - First_index) is always short by one,
even when using the 'c' base index of [0]:

(4 - 0) = 4, but to get all the items, we need the + 1... :D
 

My Computer

Computer Manufacturer/Model Number
Gateway GT5056
OS
XP_Pro, W7_7201, W7RC.vhd, SciLinux5.3, Fedora12, Fedora9_2x, OpenSolaris_09-06
CPU
AMD 64x2
Motherboard
Yes
Memory
1 gig
Graphics Card(s)
Dunno
Sound Card
Realtek something
Monitor(s) Displays
Samsung SyncMaster 940MW w/TV
Screen Resolution
1280x1024
Hard Drives
250 GB WD, USB Seagate Freedesk 1.5 T
Internet Speed
Cable modem
Other Info
1 + 1 = 10b,
7 + 7 = 16o,
a + b = 15h.
Back
Top