Suppose there are 10 machine producing the ciggarate of 10gm each. But there is fault in one of the machine and it produces the ciggarate of 9gm only. You have �electronic weight machine�. Now in only one trial, you have to find the faulty machine.
All the best [ April 20, 2007: Message edited by: Shashikant Dahatonde ]
If it's true that we are here to help others, then what exactly are the others here for?
Steve Fahlbusch
Ranch Hand
Joined: Sep 18, 2000
Posts: 393
posted
0
Far too easy, how about one machine is off (but you don't know by how much - or over/under) and still one measurement.
Ryan McGuire
Ranch Hand
Joined: Feb 18, 2005
Posts: 890
posted
0
I am so disappointed in myself! It took me nearly 20 seconds to figure out Shashikant's puzzle.
I guess I've been blinded by too many problem that use a balance instead of an "electronic weight machine".
Apparently there is something that I don't realize I "know" in Steve's scenario. I'm just not seeing how a single weight measurement can tell you which machine is off if you don't know by how much. I could do it in two measurements (one to see by HOW MUCH the bad machine is off plus one like Shashikant's puzzle).
I suspect there is some "outside the box" solution:
Light all the cigs simultaneously and see if one burns faster/slower.
Make sure the tobacco in all of the sample cigs is packed equally tightly and see which paper wrapper is fuller.
Smoke a sample from each machine and see which one raises your heart rate more or less.
Ok, Steve, I give up. How?
Jim Yingst
Wanderer
Sheriff
Joined: Jan 30, 2000
Posts: 18652
posted
0
I thought the main challenge in the original problem was figuring out what a "ciggarate" is.
I also do not see a solution to Steve's version of the puzzle. I suspect he's just made a question with no answer to torment us.
"I'm not back." - Bill Harding, Twister
Shashi Kant
Ranch Hand
Joined: Aug 08, 2006
Posts: 117
posted
0
I suspect there is some "outside the box" solution: Light all the cigs simultaneously and see if one burns faster/slower. Make sure the tobacco in all of the sample cigs is packed equally tightly and see which paper wrapper is fuller. Smoke a sample from each machine and see which one raises your heart rate more or less.
It's not the solution to my puzzle. you will have to use "electronic weight machine" only.
try it, it works in one trial only.
All the best
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32767
posted
0
Shashikant,
what Ryan posted refers to Steves riddle. I think the consensus is that the one you posted is rather too simple.
1. number machines as 1 to 10 2. produce n cigarettes from nth machine. i.e. machine 1 produces 1 cigarette, machine 2 produces 2 cigarettes... machine 8th produces 8 cigarettes and so on. 3. weigh all the cigarettes produced once. if none of the machine was faulty then the total weight of the cigarettes would have been 1x10 + 2x10 + .... 10x10 = 550 but one of the machine is faulty let it be the 7th machine(for e.g.) then the weigh of the produced cigarettes is 1x10 + 2x10 + 3x10 + 4x10 + 5x10 + 6x10 + 7x9 + 8x10 + 9x10 + 10x10 = 10+20+30+40+50+60+63+80+90+100 = 543
550 - 543 = 7. implying that 7th machine is faulty.
Thanks
Shashi Kant
Ranch Hand
Joined: Aug 08, 2006
Posts: 117
posted
0
HI Monica
tht's the right answer. great job.
Alex English
Greenhorn
Joined: Feb 26, 2007
Posts: 8
posted
0
550 - 543 = 7. implying that 7th machine is faulty.
Thanks
That was awesome!
-A
ankur rathi
Ranch Hand
Joined: Oct 11, 2004
Posts: 3820
posted
0
Originally posted by Monica Dharwad: Thats easy.
1. number machines as 1 to 10 2. produce n cigarettes from nth machine. i.e. machine 1 produces 1 cigarette, machine 2 produces 2 cigarettes... machine 8th produces 8 cigarettes and so on. 3. weigh all the cigarettes produced once. if none of the machine was faulty then the total weight of the cigarettes would have been 1x10 + 2x10 + .... 10x10 = 550 but one of the machine is faulty let it be the 7th machine(for e.g.) then the weigh of the produced cigarettes is 1x10 + 2x10 + 3x10 + 4x10 + 5x10 + 6x10 + 7x9 + 8x10 + 9x10 + 10x10 = 10+20+30+40+50+60+63+80+90+100 = 543
550 - 543 = 7. implying that 7th machine is faulty.
Thanks
Great!!!
dharmendra Rathor
Greenhorn
Joined: Mar 20, 2007
Posts: 17
posted
0
great monica gracious gracious !!! [ May 03, 2007: Message edited by: pragmatic dsr ]
Ryan McGuire
Ranch Hand
Joined: Feb 18, 2005
Posts: 890
posted
0
Originally posted by Monica Dharwad: Thats easy.
1. number machines as 1 to 10 2. produce n cigarettes from nth machine. ... 3. weigh all the cigarettes produced once. if none of the machine was faulty then the total weight of the cigarettes would have been 1x10 + 2x10 + .... 10x10 = 550 ...
You could save the cost of 10 cigarettes by numbering the machines 0 through 9 and then carrying on with Monica's instructions. (Also, the magic number in step 3 changes from 550 to 540.) [ May 03, 2007: Message edited by: Ryan McGuire ]
Steve Fahlbusch
Ranch Hand
Joined: Sep 18, 2000
Posts: 393
posted
0
Sorry, been gone...
Anyway the trick to this one is to know the largest and smallest delta possible - but to make it easy lets say that the off machine is at least 1% off and less than 50% off - so bad sig is in the range of 5-9.9 oz or 10.1 to 15. Then it becomes simple take 1 from machine 1 - take 101 from 2, take 100001 from three and so on. just make sure that: the number you grab from each will separate the deltas into descrete ranges.
Also note: the others have be to dead on, or this could be messy.
Ryan McGuire
Ranch Hand
Joined: Feb 18, 2005
Posts: 890
posted
0
Originally posted by... well... me: Apparently there is something that I don't realize I "know" in Steve's scenario.
Originally posted by Steve Fahlbusch: Sorry, been gone...
Anyway the trick to this one is to know the largest and smallest delta possible - but to make it easy lets say that the off machine is at least 1% off and less than 50% off - so bad sig is in the range of 5-9.9 oz or 10.1 to 15. Then it becomes simple take 1 from machine 1 - take 101 from 2, take 100001 from three and so on. just make sure that: the number you grab from each will separate the deltas into descrete ranges.
Also note: the others have be to dead on, or this could be messy.
Aha! Just as I suspected. The thing I didn't realize I knew was that there is some minimum amount that the bad machine is off by.
Besides if we follow the pattern you set down for machines 1 and 2 we need... 101 from machine 1, 100,001 from machine 2, 100,000,001 from machine 3, 100,000,000,001 from machine 4, 100,000,000,000,001 from machine 5, ...
Whoa.... a million-million (what I'd call a trillion) and one cigarettes from one machines???
Actually, I think we only need... 1 from machine 1, 51 from machine 2, 2,601 from machine 3, 132,651 from machine 4, 6,765,201 from machine 5, 345,025,251 from machine 6, 17,596,287,801 from machine 7, 897,410,677,851 from machine 8, 45,767,944,570,401 from machine 9, and 2,334,165,173,090,451 from machine 10.
We still need a couple thousand-million-million or so cigs from one machine. For that much, I'd just buy a second scale.