I was reading about this famous problem called "Squaring the Circle" (https://en.wikipedia.org/wiki/Squaring_the_circle).
The goal of this problem is to make a square and a circle with the same surface area. However, it was shown that this is not possible - in particular, it is impossible to make a square with an area of "pi".
I am having a bit of difficulty understanding why it is not possible to make a square with an area of "pi" - for instance, a square of area "pi" would have each side measuring "square root of pi". If approximations are "good enough", it shouldn't be too hard to do this?
ggplot() +
geom_rect(aes(xmin = 1,
xmax = sqrt(pi),
ymin = 1,
ymax = sqrt(pi))) +
coord_qual()
I don't think I am correctly understanding this problem - for instance, I can understand that it is impossible to draw a square with each side measuring "square root of pi", seeing as "pi" is an unending and irrational number. For instance, I could not cut a piece of wood to exactly measure "pi" meters: I could curt a piece of wood to measure 3.14159 meters, because eventually at some decimal position, no cut of wood would exactly measure "pi" meters.
But wouldn't this concept apply to almost any problem in which measurements are unending decimal numbers? For instance, if I want to build a bridge to sustain some amount of load - I might do some engineering calculations, and it might tell me that that the bridge needs to 42.1256789900031323... meters long. But of course, I would make a cut at 42.125 meters and carry on with the construction.
Thus: Is the "Squaring the Circle" problem impossible because it is impossible to draw a square having an unending length (i.e. I would spend eternity making sure that the measurement of each side was faithful to "pi" over infinite decimal places) - or is there some other reason that the "Squaring the Circle" problem is impossible?
Thanks!

If you have a marked ruler, it is trivial to draw a square of area $\pi.$ The problem is this: given a line segment of length 1, and a straightedge and compass, what other length line segments can you produce? The important part is you have no ruler; your straightedge is unmarked.