Convert $(-3 \sqrt{2}, -3 \sqrt{2})$ from rectangular coordinates to polar coordinates. (Use radians, with your angle in the interval $[0, 2 \pi)$, and with $r > 0$.)
I got $\left(6, -\frac{3\pi}{4}\right)$, but that's wrong. Any ideas on where I miscalculated? Thanks!
You have
$$x=r\cos(\theta)\;,\;y=r\sin(\theta)$$
$$\implies r^2=x^2+y^2=18+18=36$$
$$\implies r=6$$
and since $x\neq 0, \tan(\theta)=\frac{y}{x}=1$
$\implies \theta=\frac{\pi}{4}$ or $\frac{\pi}{4}+\pi$
but $\cos(\theta)=\frac{x}{r}=-\frac{\sqrt{2}}{2}$
$$\implies \theta=\frac{5\pi}{4}.$$