Demonstration of the law of cosines
Information: Demonstration of the law of cosines