这是余弦定理a^2 = b^2 + c^2 - 2·b·c·cosAb^2 = a^2 + c^2 - 2·a·c·cosBc^2 = a^2 + b^2 - 2·a·b·cosCcosC = (a^2 + b^2 - c^2) / (2·a·b)cosB = (a^2 + c^2 - b^2) / (2·a·c)
cosA=(b2+c2-a2)/2bccosB=(a2+c2-b2)/2accosC=(a2+b2-c2)/2ab
COS A = (b^2+c^2-a^2)/2bc