then the value of cos (A+B) is