Archimedes and Numerical Roots

The problem is how did Archimedes calculate the lengths of the sides of the polygons which needed him to be able to calculate square roots?