cos(a+b)

geez - just look it up in your text.

cos(a+b) = cosa cosb - sina sinb