Remix.run Logo
_alternator_ 13 hours ago

For the first question, the answer is just cos(\theta)*L/W, where theta is the angle off horizontal (assuming the floorboards are vertical). So a trig function shows up, if not pi.

If you don't allow rotations, but somehow still take a polygonal limit to circles, I suspect you'll end up with the same answer. But the limit is necessarily restricted relative to highly symmetric polygons going this route.

In general, rotational symmetry gives a ton of power to simplify the math, and leads to highly general results like arbitrary "noodles" having the same average crossing count as needles of the same length.