Generate text that is semantically similar to this text: if a bulb and a switch are contained in the same closed path , the switch affects the bulb .
when the switch and the bulb are contained in the same path