How can i calculate the size of a regular polygon if i have N circles of same size and all the circles must be on the perimeter of the polygon.
Examples:
2 circles on hexagon
Is there a equation that given the number of vertices on polygon (>= 3) and the number of circles (>=2) and radius of the circle, will output me the edge length of a such a regular polygon? Also it would be bonus if there would be a way to find the positions of the circles also.
Conditions for the hexagon and circle placement:
- Hexagon must be minimal
- Circles must not overlap
- Circle centers must be on perimeter