descartes75 said:
Thank you.
The above is correct but I am looking for something that can be automated (numerically solved). I am writing a program that would ask the user for the diamters and then spit out the arc length. This integral is a mess to solve with VB
I tried a lot but in vain to solve this in terms of a and b ....
You mean sometimes programming gets hard? :mrgreen:
Suppose b>=a and the cylinder of radius b lies centered on the x axis, the other cylinder of radius a lies centered on the y-axis.
Our equations are:
\(\displaystyle x^2+z^2=a^2\)
\(\displaystyle y^2+z^2=b^2\)
Which as tkhunny pointed out yields: \(\displaystyle y^2-x^2=b^2-a^2 \ge 0\)
If \(\displaystyle b=a\) then they intersect along \(\displaystyle y=\pm|x|\). So that the arclength will be the sum of the circumferences of two equal ellipses: \(\displaystyle \frac{u^2}{2a^2} + \frac{v^2}{a^2}=1\). \(\displaystyle u,v\) I'm using since the ellipses exists in the plane perpendicular to the cartesian plane rotated \(\displaystyle \frac{\pi}{4}\) and \(\displaystyle \frac{3\pi}{4}\) radians. With a little work its not hard to see this, but if you would like a more in-depth explaination I can do so.
Otherwise, The cross-sectional solution is a
hyperbola:
\(\displaystyle \frac{y^2}{r^2}-\frac{x^2}{r^2}=1\) where \(\displaystyle r^2=b^2-a^2\).
The tricky part now is finding z in relation to this above equation and the bounds of integration.
I might come back and think some more after a run