Tube in a Cube
Tube in a Cube
For a given cylinder radius, this Demonstration finds the maximum-length cylinder that fits inside a rectangular box. For a cylinder radius approaching zero, the maximum-length cylinder lies on the diagonal connecting the opposite corners of the box. However, as the cylinder radius is increased, the longest cylinders lie along the longest dimension of the box.