Regular Polygon Area Calculator
Compute regular polygon area from side count n (n ≥ 3) and side length s using A = n·s²/(4·tan(π/n)).
📐 計算公式
正多邊形面積(本頁程式碼口徑):A=n×s²÷(4×tan(π÷n))(m²,n 邊數、s 邊長 m);聯動量:內切圓半徑=s÷(2×tan(π÷n))、周長=n×s(m)、外接圓半徑=s÷(2×sin(π÷n))(m)。校驗:n 須為不小於 3 的整數、s 須為大於 0 的有限數,否則提示並中止。判據:無固定分級,n 增大時面積趨近同周長圓,n=3(正三角形)時為最小。
由邊數與邊長求正多邊形面積(n≥3)。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Regular polygon area | A = ½·n·s·a (perimeter × apothem/2) | Polygon geometry |
| Apothem | a = s/(2 tan(π/n)) | Regular polygon |
| Circumradius form | A = (n/2)R² sin(2π/n) | Trigonometric form |
| Circle limit | Tends to πR² as n→∞ | Limit concept |
| Validity | Only regular polygons | Geometric constraint |
| Units | Squared length units | Dimensional rules |
📌 計算說明
- A = n·s² / (4·tan(π/n))。
- 正六邊形(s=1)面積約 2.598。