# Quadrilateral's length of the diagonals

## Description

A quadrilateral is a polygon with four sides (or edges) and four vertices or corners. The interior angles of a simple (and planar) quadrilateral add up to 360 degrees of arc.

The two diagonals of a convex quadrilateral are the line segments that connect opposite vertices.

The length of the diagonals in a convex quadrilateral can be calculated using the law of cosines.

## Variables

p | Diagolal (opposite to angle B) (m) |

a | Side (adjacent to angle B) (m) |

b | Side (adjacent to angle B) (m) |

B | Angle (between sides a and b) (degree) |