Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find the number of intersections of the diagonals of a regular polygon
ResourceFunction["DiagonalIntersectionsCount"][n] returns the number of intersections of the diagonals of a regular polygon with n sides. |
Find the number of intersections of diagonals of a regular polygon with 17 sides:
In[1]:= |
|
Out[1]= |
|
Find the number of intersections of 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