(a) As initially charge is maximum,
$\ \ \ \ \ \ \ \ \ \ \ \ q = q_{0}\cos{\omega t}$
$\Rightarrow \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ i = \frac{dq}{dt} = - \omega q_{0}\sin{\omega t}$
Given $\frac{1}{2}Li^{2} = \frac{q^{2}}{2C}$
${\Rightarrow \ \ \frac{1}{2}L\ (\omega q_{0}\sin{\omega t)}}^{2} = \frac{{(q_{0}\cos{\omega t)}}^{2}}{2C}$
$\ \ \ \ \ \ \ \ \ \ \ \ \omega = \frac{1}{\sqrt{LC}}$
$\therefore\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ {\ \ \ tan}{\omega t = 1}$
$\ \ \ \ \ \ \ \ \ \omega t = \tan\frac{\pi}{4}$
$\ t = \frac{\pi}{4\omega} = \frac{\pi}{4}\sqrt{LC}$