Which of the following equations correctly represnt the law of cosines?
A. b2 = a2 + b2 – 2ab ⋅ cos(C)
B. c2 = a2 + b2 – 2ab ⋅ cos(B)
C. b2 = a2 + c2 – 2ac ⋅ cos(B)
D. a2 = b2 + c2 – 2ac ⋅ cos(A)