You can put this solution on YOUR website! By definition, all sides of a regular polygon are equal in length. If you know the length of one of the sides, the area is given by the formula:
where is the length of any side, is the number of sides, is approximately , and tan is the tangent function calculated in radians