The volume of the cuboid equals the volume of the cube.

Volume of cube = 30³ = 27000 cm³.
Volume of cuboid = 24 × w × 15 = 360w.

360w = 27000
w = 27000 ÷ 360 = 75 cm.

Final Answer: 75 cm