Quadrilateral
Lengths of the diagonals

The lengths of the diagonals in a convex quadrilateral ABCD can be calculated using the law of cosines on each triangle formed by one diagonal and two sides of the quadrilateral. Thus

and

Other, more symmetric formulas for the lengths of the diagonals, are

and
length_constraints:number_sentences[6]