law of cosines
Information: law of cosines