A current is maintained in a simple circuit that consists of a resistor between the terminals of an ideal battery. If the battery supplies energy at a rate of W, how large is the resistance