Sound of Music....
There are 4 speakers inside a room. The speakers are connected to an audio set that continously plays music. The audio set has no other sound outlets other than these 4 speakers and there is no other source of sound in the room. There is a set of 4 switches inside the room and 4 switches outside the room. Each speaker is controlled by 2 switches, one outside and one inside. Only when both the switches are ON will the corresponding speaker sound the music. You are standing inside the room. All the speakers are currently sounding the music. You are allowed to go outside the room only once. From outside you can not see anything inside the room, however you can hear the sound if any speaker is on. Your objective is to ascertain which two switches control which speaker. (You are not allowed to touch the speakers, you do not have to worry about power failures et all).

4 Comments:
Lets assume bulbs are ABCD(Inside) and PQRS(Outside).
0) All are On.
1) AB - On, CD - Off. Go outside. Note the speakers that are on.
2) Find the pair which corresponds to AB. Switch off all. And then switch on
one by one. Lets assume its RS.
3) PS - On. QR - Off. Go inside.
4) Now only one speaker is ON. Switch off A if speaker goes off then AS/BR
is the pair. Otherwise AR/BS. Two Speakers are also found.
5) Switch off AB. All speakers off. Switch on C. If speaker goes on, then CP
and that speaker are the pair. DQ is another pair. Otherwise switch on D and
find the speaker which goes on. Now DP/SpeakerOn and CQ/SpeakerOff are the
pairs.
-Guhan
Quite right guhan, but:
0) All are On.
1) AB - On, CD - Off. Go outside. Note the speakers that are on.
2) Find the pair which corresponds to AB. Switch off all. And then switch on
one by one. Lets assume its RS.
How do you know its RS?
Remember from outside you can only tell if there is something playing inside. You cannot tell is 2 speakers are ON or just one speaker is ON or which one it is.
BTW they are not bulbs, they are switches : )
oh ok... you switch them one by one until you hear music and then remember that switch, turn it off and proceed to the remaining switches to find other switch that corresponds.
Ok thats a correct solution.
I came up with the same solution except that I used the negative logic in that step. i.e., I found out the 2 switches which when turned on woul lead to no music being heard. So those two switches would not correspond to AB. The rest is the same as yours.
I'll leave one of them on and turn the other off and simlary turn one among CD on and go into the room and do the figuring out.
No probs. Let me explain...
Switch on AB swich off CD and go out.
Switch off PQRS. Then switch on one by one. Once R is On and speaker is
heard. Switch it off. Then switch on S. Again speaker will be heard. Don't
switch on both at the same time.
-Guhan
Post a Comment
<< Home