Proof of the law of cosines | Trig identities and examples | Trigonometry | Khan Academy