The life times of batteries are independent uniformly distributed random variables over the interval of (0,1)month. A device requires 2 batteries to operate. When a battery fails, both batteries in service are replaced and discarded. If you have a total of n batteries, find the mean of the total amount of time that the device can operate.