Mathematicians first measure the length of the rope by winding it around a circle, and then get π by constructing a polygon similar to a circle (inscribed polygon and circumscribed polygon) and finding its side length. For example, in Zu Chongzhi, the more sides a polygon has, the closer its side length is to the radius of a circle.