>>298
S(n)=nr^2 / 2 * sin(2π/n)