Question :
If the input to an RLC serise circuit is \$V=V_{in}\cos(wt)\$, what is the current I in the circuit in terms of \$V_{in}, w, t,R,L,C,\theta\$?
Answer :
$$I = \frac{V_{in}\cos(wt-\theta)}{\sqrt{R^2+(wL-1/wC)^2}}$$
My Steps : \begin{align} Z&=R+\frac{-j}{wC}+jwL\\ &=\frac{RwC+j(w^2LC-1)}{wC} \end{align}
If I sub the Z into \$I=\frac{V}{Z}\$ to gain \$Z^{-1}\$, the result seems wrong. How to obtain the answer?
Thank you for your help.