Type in the amount of sides and the radius, and you get a polygon. press space to do it again.
the only math involved was this trigonomic equation: x=radius*cos(angle) y=radius*sin(angle)