You are given a resistance coil and a battery. In which of the following cases is largest amount of heat generated?