In the diagram, the rectangular solid and the cube have equal volumes. The length of each edge of the cube is
(A) 2
(B) 4
(C) 8
(D) 16
(E) 32

![](https://cdn.mathpix.com/cropped/2024_04_20_6ed09463f225f8ba1f07g-104.jpg?height=330&width=425&top_left_y=1117&top_left_x=1251)
The volume of the rectangular solid is $2 \times 4 \times 8=64$.

If the length of each edge of the cube is $s$, then the volume of the cube is $s^{3}$, which must be equal to 64 . Since $s^{3}=64$, then $s=4$, so the length of each edge of the cube is 4 .

ANSWER: (B)