Compute the third side of a triangle from two sides and the included angle.
输入两边 a、b 及其夹角 C(度),求第三边 c。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Law of cosines | c² = a² + b² − 2ab·cosC | Euclid Elements II.12/13 equivalent |
| SAS case | Two sides and included angle determine the third side directly | Standard triangle-solving rules |
| Angle form | cosC = (a² + b² − c²) ÷ 2ab solves any angle | Law-of-cosines rearrangement |
| Pythagorean limit | At C=90° reduces to c² = a² + b² | Pythagorean theorem |