Added by Tobias Varland on July 10, 2002 at 11:48:53:
The area of a regular polygon, when all one knows is the length of one side and the number of sides, is:
0.25 * (lengthSide^2) * numSides * tan[ ( pi * ( numSides - 2 ) ) / ( 2 * numsides ) ]