Consider the following triangle (not in scale):
We know that:
Applying the same steps for sin(B), cos (A) and cos(B), we have:
3.7m questions
4.7m answers