Skip to main content
Skip to main content
DigiCalcs

learn.howToCalculate

learn.whatIsHeading

The Law of Cosines relates the three sides of any triangle to one of its angles. It generalises the Pythagorean theorem: when the angle C = 90°, cos(C) = 0 and the formula reduces to a² + b² = c².

Hướng dẫn từng bước

  1. 1Label the triangle sides a, b, c and opposite angles A, B, C
  2. 2To find side c: c² = a² + b² − 2ab·cos(C)
  3. 3To find angle C: cos(C) = (a² + b² − c²) / 2ab

Ví dụ có lời giải

đầu vào
a=8, b=11, C=37°
Kết quả
c ≈ 6.67
c²=64+121−2(8)(11)cos(37°)
đầu vào
a=5, b=7, c=10
Kết quả
C ≈ 111.8°
cos(C)=(25+49−100)/70=−0.37

Sẵn sàng để tính toán? Dùng thử Máy tính Law of Cosines miễn phí

Hãy tự mình thử →

Cài đặt