In a room there are three switches. In another room, which you can't see from the first, there is a light bulb connected to only one of them.
You can manipulate the switches however you want, but you can only enter the light-bulb room once. The bulb is one of those that gets hot when it is on for a while.
How do you determine for sure which switch controls the light bulb?