Excel in math, science, and engineering
The double angle identity states that
\[ \cos (2 \theta) = N \cos^2 \theta - M, \]
where \(N\) and \(M\) are real numbers. What is the value of \( N + M \)?