How to find $x$ for $1 + \sin(x/2) = \cos x$? How to find $x$ for $1 + \sin(x/2) = \cos x$ ?
From the equation, I can figure out that it is satisfied at $x = 0$ by looking. How do I find the other solutions to this equation?

Re-writing this as $\cos(2y) = 1 + \sin(y)$ for $y = \frac{x}{2}$ and using the fact that $\sin^2(y) = \frac{1 - \cos(2y)}{2}$, we can simplify the equation to $1 - 2\sin^2(y) = 1 + \sin(y)$ and thus $2\sin^2(y) + \sin(y) = (2\sin(y) + 1)\sin(y) = 0$. This means either $\sin(y) = 0$ or $\sin(y) = \frac{-1}{2}$, which has solutions of the form $y = n\pi$ or $y = \frac{12n\pi - \pi}{6}$ or $\frac{12n\pi + 7\pi}{6}$ for $n$ an integer. Clearly $x = 2y$.
