The correct option is D 20 cm
Length of the metallic cube,
s=20 cm
Volume of the cube =s3=20×20×20=8000 cu cm
Since this cube is being melted and made into a rectangular prism, the volume of the rectangular prism will be the same as that of the cube.
The dimensions of the rectangular prism are: length l=40 cm, width w=10 cm, and height h=h cm.
Volume of the rectangular prism=l×w×h=40×10×h=400×h cu cm
⇒8000=400×h
Divide both sides by 400.
Height of the rectangular prism =8000400=20 cm