Remember the following formula for the cosine of the sum of two angles:
On the other hand, from the Pythagorean Identity:
The sign of the cosine of an angle is positive if that angle is in the first quadrant or the fourth quadrant. If it is in the second or third quadrant, the cosine will be negative.
Find the cosine of A and B using the Pythagorean Identity and find the sign of the cosine by checking the quadrant in which the angle is placed.
Since sin(A)=4/5 with A in the second quadrant, then:
Since sin(B)=-12/13 with B in the third quadrant, then:
Substitute the values for cos(A), cos(B), sin(A) and sin(B) into the formula to find the value of cos(A+B):
Therefore: