There is a lightbulb inside a closet. The door is closed, and you cannot see if the light is on or off through the door. However, you know the light is off to start. Outside of the closet, there are three light switches. One of the switches controls the lightbulb in the closet. You can flip the switches however you want, but once you open the door, you can no longer touch the switches.
How do you figure out without a doubt which switch controls the light?
Flip switch number 1 and wait a few minutes. Flip switch number 1 back to its original position, and then immediately flip switch number 2.
Open the door. If the light is on, then switch number 2 controls it. If the light is off, then go and feel the bulb with your hand. If the bulb is hot, the switch number 1 controls it, and if the bulb is cold, then switch number 3, the one you did not touch, controls it.