In any triangle ABC,

a = b cosC + c cosB

b = c cosA + a cosC

c = a cosB + b cosA

These are called projection formulae.