## Regular Polygons

The following elements of a regular polygon are calculated if one of them is given:

- Side a
- Incircle radius r
_{i} - Circumcircle radius r
_{c} - Perimeter u
- Area A

### Example:

Given: ¯¯¯¯¯¯ Vertices n = 6 Circumcircle rc = 1 Results: ¯¯¯¯¯¯¯ Side a = 1 Incircle ri = 0,8660254 Perimeter p = 6 Area A = 2,5980762