c^2=a^2+b^2-2*ab*COSC
作BD垂直AC交AC于D点
则BD=a*SINC,AD=AC-CD=b-a*COSC
c^2=BD^2+AD^2=(a*SINC)+(b-a*COSC)=a^2+b^2-2*ab*COSC