Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find the number of regions partitioned by the diagonals of a regular polygon
ResourceFunction["RegularPolygonRegionCount"][n] returns the number of regions formed by the diagonals of a regular polygon with n sides. |
Find the number of regions formed by the diagonals of a regular polygon with 17 sides:
In[1]:= |
Out[1]= |
Find the number of regions formed by the diagonals of a regular polygon with 240 sides:
In[2]:= |
Out[2]= |
This work is licensed under a Creative Commons Attribution 4.0 International License