n-regular polygon inscribed the circle

In the Input field enter x^2 + y^2 = 36. Show the slider n( from 3 toi 1500,[br]ingradient 1). Construct the point M (6cos 360°/n, 6 sin 360°/n) and [br]segment [B,M]. Then n-regular polygon with side BM.
n-regular polygon inscribed the circle

Information: n-regular polygon inscribed the circle