radius circle inscribed regular polygon

 

a12 blue  -  side  of a polygon

N14 black  -  number  of sides

O black  - circumcenter    

 

Calculate the radius of a inscribed circle of a regular polygon if given side and number of sides ( r  ) :

radius circle inscribed regular polygon F