See grazing cow.
Now keep the restriction that the length of the rope is $l\leq\pi r$ where $r$ is the radius of the barn, (I like to think of this as a goat tied to a silo) but now suppose the cow can fly and eats bugs. What would be the total volume of its grazing space. I guess also assume the barn is tall enough that it can not fly over the top.
Again the quarter sphere of grazing area out front is not a problem to calculate. My idea was to think of it as a bunch of involutes stacked up. Something like this
Forming the sum of these involute slices as they get thinner and thinner we have
$$ \displaystyle{\lim_{n \rightarrow \infty}\frac{l^3}{6r}\cdot \frac{l}{n}+\frac{\left( l\sqrt{1-\left(\frac{1}{n}\right)^2}\right)^3}{6r}\cdot \frac{l}{n} +\cdots +\frac{\left( l\sqrt{1-\left(\frac{n-1}{n}\right)^2}\right)^3}{6r}\cdot \frac{l}{n} }$$ $$\displaystyle{=\frac{l^4}{6r} \lim_{n \rightarrow \infty}\sum_{k=0}^{n-1}\frac{1}{n}\left(\sqrt{1-\left( \frac{k}{n} \right)^2} \right)^3 }$$ $$\displaystyle{=\frac{l^4}{6r}\int_{0}^{1}\left( \sqrt{1-x^2} \right)^3dx }$$ $$\displaystyle{= \frac{l^4\pi}{32r} }$$ adding the quarter sphere and the two side volumes I get a total grazing volume of $\frac{l^4\pi}{16r}+\frac{1}{3}\pi r^3$.
Wondering if this works or if I made some false assumptions?