Law of cosines

\begin{tikzpicture}[scale=3] \coordinate (A) at (0,0); \coordinate (B) at +(1.5,1); \coordinate (C) at +(1.2,0); \draw (A) -- node[above] {\(a\)} (B) -- node[right] {\(b\)} (C) -- node[below] {\(c\)} (A) ; \pic[draw, angle radius=0.5cm, "$\beta$"] {angle = C--A--B }; \pic[draw, angle radius=0.5cm, "$\alpha$"] {angle = B--C--A }; \pic[draw, angle radius=0.5cm, "$\gamma$"] {angle = A--B--C }; \end{tikzpicture} ParseError: No such environment: tikzpicture at position 7: \begin{̲t̲i̲k̲z̲p̲i̲c̲t̲u̲r̲e̲}̲[scale=3] \coor…c2=a2+b22abcosγa2=b2+c22bccosαb2=a2+c22accosβ

the law of cosines generalises the pythagorean theorem to all triangles.

The law of cosines can be used to solve triangles:

See also