A canonical transformation from old coordinates $(q, p)$ to new action-angle-type coordinates $(Q, P)$ is generated by a type-1 generating function $F_1(q, Q) = \frac{1}{2} m \omega q^2 \cot Q$. Using canonical transformation relations $p = \frac{\partial F_1}{\partial q}$ and $P = -\frac{\partial F_1}{\partial Q}$, what are the expressions for $q$ and $p$ in terms of $(Q, P)$?
- A$q = \sqrt{\frac{P}{m\omega}}\cos Q$ and $p = \sqrt{m\omega P}\sin Q$
- B$q = \frac{P}{m\omega}\sin^2 Q$ and $p = m\omega P\cos^2 Q$
- C$q = \sqrt{\frac{2P}{m\omega}}\sin Q$ and $p = \sqrt{2m\omega P}\cos Q$
- D$q = \sqrt{\frac{2P}{m\omega}}\tan Q$ and $p = \sqrt{2m\omega P}\sec Q$