the batteries or capacitors being of the same voltage