# Perimeter of a Regular polygon

## Description

A regular polygon is a polygon that is equiangular (all angles are equal in measure) and equilateral (all sides have the same length). Regular polygons may be convex or star.

A perimeter of a regular polygon is a path that surrounds it in two dimensions. The perimeter of a regular polygon can be calculated by the length of its sides.

## Variables

P | perimeter of a regular polygon (m) |

n | number of sides (dimensionless) |

b | distance between center of the polygon and one of the vertices of the polygon (m) |

π | pi |