Excel in math, science, and engineering
\(N\) and \(M\) are real numbers such that
\[ \cos ( \alpha + \beta) = N \cos \alpha \cos \beta + M \sin \alpha \sin \beta \]
is an algebraic identity. What is the value of \(N+M\).