Источник TeX:
a = 2R\sin{\left(\frac{\pi}{n}\right)}