The volume of a cylinder that exactly fits in a cube of side is
We know that volume of the cylinder
Where is the radius and is the height of the cylinder.
When the cylinder exactly fits on the cube side the height equals to the edges of the cube and the radius equals half of the edge of the cube.
It means
If we put the values of and then we get,
The volume of the cylinder .
Hence, the volume is .