Computing: Free Pascal Programming

Programming Home   Home   Contact

Properties of regular polygons (Polygons).

Description: Geometry application, dealing with regular polygons. The program draws polygons (3 to 20 sides) and computes its major properties: exterior and interior angle, radius and apothem, perimeter and surface area, equations of the circumcircle and the incircle, number of diagonals, side lengths, angle and area of the main and small polygon triangles. Radius, apothem, circumcircle, incircle and diagonals may also been shown on the drawing.

Free Pascal features: Creating drawings, using bitmap canvas.


Regular polygons: Circumcircle and insercle of a hexagon
Regular polygons: Diagonals of an icosagon