wu :: forums
« wu :: forums - Chemist - Trying to find good pills from bad pills »

Welcome, Guest. Please Login or Register.
May 14th, 2024, 3:58am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: towr, SMQ, william wu, ThudnBlunder, Eigenray, Grimbal, Icarus)
   Chemist - Trying to find good pills from bad pills
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Chemist - Trying to find good pills from bad pills  (Read 554 times)
Venk
Guest

Email

Chemist - Trying to find good pills from bad pills  
« on: Jun 11th, 2003, 9:36pm »
Quote Quote Modify Modify Remove Remove

Heres a puzzle:
 
Data:
1) A chemist has n bottles of pills with him.
2) m of these bottles contain only good pills.
3) n-m contain of these bottles contain only bad pills.
4) A good pill weighs x grams and a bad pill weighs y grams.
5) The chemist has a weighing scale and can use this just once.
6) There are infinite number of pills in each bottle.
 
Can the chemist identify the bottles with good pills from those with bad pills in just one weighing? If yes, how? If no, why?
 
- A simplified version of this problme is when m=1. In this case we take i pills from each bottle where i ranges from 1 to n. Then compute the bottle with good pills. This maybe trivial, however I find this modified version of the problem (above) challenging.
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Chemist - Trying to find good pills from bad p  
« Reply #1 on: Jun 11th, 2003, 11:20pm »
Quote Quote Modify Modify

does the chemist know the values of x,y and m?
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
BNC
Uberpuzzler
*****





   


Gender: male
Posts: 1732
Re: Chemist - Trying to find good pills from bad p  
« Reply #2 on: Jun 11th, 2003, 11:39pm »
Quote Quote Modify Modify

I think you have to know the values of x and y - otherwise you may diffrintiate "good" from "bad" -- but won't be able to state which is which - and that's not very helpful, now is it?
 
I think we may do without m:
::

Take 1 pill from box 1, 2 from 2, 4 from 3 ... 2^(n-1) from box n. Weight. Compare to the weight of "all good pills" measure. The difference is Dw. Denote dw = x-y. Now, take the binary repesentation of Dw/dw. The "1" bits are the locations of the bad pills.

::
IP Logged

How about supercalifragilisticexpialidociouspuzzler [Towr, 2007]
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board