Law of cosines
Information: Law of cosines