In the figure shown below, switch S is closed at t=0 with inductor fully charged. Find the charge (q) on the capacitor as a function of time (t). i0 is the maximum value of current in the circuit.