a cos A+b cos B+c cos C=2b sin A sin C=2 c sin A sin B
a cos A+b cos B+c cos C=2b sin A sin C=2 c sin A sin BLHSa cos a+b cos B+c cos C=k sin A cos A+k sin B cos B+k sin C cos C=k2(sin 2A+sin 2B+sin 2C)=k2(2 sin (A+B).cos (A−B)+2 sin C.cos C)=2k2(sin (π−C).cos(A−B) + sin C.cosC)=k (sin C.cos (A−B) + sin C.cos C)=k sin C (cos (A−B) + cos C)=k sin C.2 cos (A−B+C2).cos (A−B−C2)=k sin C.2 cos (π−2B2).cos(A−π+A2)=k sin C.2 sin B.cos (2A−π2)=k sin C.2 sin B.cos (π−2A2)=k sin C.2 sin B.sin A=2 sin B sin C (k sin A)=2a sin B sin C=RHSSimilarly, a cos A+b cos B+a cos C=2c sin A sin B