The time taken for the magnetic energy to reach 25% of its maximum value, when a solenoid of resistance R, inductance L is connected to a battery, is:

(1) L/R ln5
(2) infinite
(3) L/R ln2
(4) L/R ln10