The formula for the sum of angles in cosine is:
So in this case the error is adding instead of substracting.
Let's correct it:
4.6m questions
6.0m answers