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.

Related formulas

Variables

Pperimeter of a regular polygon (m)
nnumber of sides (dimensionless)
bdistance between center of the polygon and one of the vertices of the polygon (m)
πpi