This document discusses using the law of cosines to solve for unknown sides or angles of a triangle when given certain information about the triangle. It derives the law of cosines formula, provides examples of using it to find a side length when given two sides and the angle between them and to find all angle measures when given all three side lengths, and includes a practice problem to find the length of a median to the longest side of a triangle when given the three side lengths.