https://github.com/jaytwolab/polygon.circle
Regular n-pronged circumcircle and an inscribed circle :kr: 정n각형의 외접원과 내접원
https://github.com/jaytwolab/polygon.circle
Last synced: about 2 months ago
JSON representation
Regular n-pronged circumcircle and an inscribed circle :kr: 정n각형의 외접원과 내접원
- Host: GitHub
- URL: https://github.com/jaytwolab/polygon.circle
- Owner: JayTwoLab
- License: mit
- Created: 2024-12-20T01:38:20.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-19T11:42:48.000Z (3 months ago)
- Last Synced: 2025-03-28T03:07:33.747Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Regular n-gon Geometry: Circumscribed and Inscribed Circles
> [English](README.md), [Korean](README.ko.md)
![]()
- A **regular n-gon** is a polygon with all sides and angles equal. It can have both a circumscribed circle (circumcircle) and an inscribed circle (incircle).
- The **circumcircle** passes through all vertices of the n-gon.
- The **incircle** is tangent to all sides of the n-gon.### Circumradius (R) of a Regular n-gon
- For a regular n-gon with side length [](#) , the radius [](#) of the circumcircle is calculated as:
\[
[](#)
\]### Inradius (r) of a Regular n-gon
- The radius [](#) of the incircle is calculated as:
\[
[](#)
\]### Example: Regular Pentagon (n = 5)
- For a regular pentagon with side length [](#) :
- **Circumradius**: [](#)
- **Inradius**: [](#)- These formulas are useful for understanding the geometric properties of regular polygons and have applications in various fields.