8. (12%) In the shown figure, after switch S is closed at time t = 0, the emf of the source is automatically adjusted to maintain a constant current i through S. (a) Find the current through the inductor as a function of time. (b) At what time is the current through the resistor equal to the current through the inductor?