An AC source is connected to an inductance of 100 mH, a capacitance of $100\,\mu\mathrm{F}$ and a resistance of $120\,\Omega$ as shown in figure. The time in which the resistance having a thermal capacity $2\mathrm{~J\,{}^\circ C^{-1}}$ will get heated by $16^\circ\mathrm{C}$ is $\_\_\_\_$ s.