Find all solutions of $2\sin t-1-\sin^2 t = 0$ in $[0,2\pi]$.
Attempt: \begin{align} 1-2\sin t& =-\sin^2 t\\ \cos 2t& =-\sin^2 t\\ \cos^2t-\sin^2t & =-\sin^2t\\ \cos^2t & = 0. \end{align} Am I correct up to this point? If I have done everything right, I do not know where to go from here. I know how to solve $\cos t=0$ but $\cos^2$ is confusing me. Any help would be appreciated, thanks!
Substitute $$\sin(t)=z$$ then we get $$2z-1-z^2=0$$ which is easy to solve.