Artificial intelligent assistant

Circumradius of a regular heptagon My graphing software says that the value of circumradius of a regular heptagon, of side unity, upto 5 decimal places, is 1.15238. Just as the circumradius of a regular pentagon of length unity can be expressed as 1/(2 sin36°), can it be expressed in terms of trigonometric ratios? See figure

Let $R$ be the circumradius, $r$ the inradius and $a$ the side-length of a regular $n$-gon. Then $$\frac{a}{R}=2\sin\frac\pi n$$ and $$\frac{a}{r}=2\tan\frac\pi n.$$

The reason? There's a right-angled triangle with hypotenuse $R$, and side-lengths $r$ and $a/2$ adjacent and opposite to an angle $\pi/n$.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 2d276e2344ef4337f3dc278ecf96c4a5