A rectangular container, whose base is a square of side 5cm, stands on a horizontal table,
Question:

A rectangular container, whose base is a square of side 5cm, stands on a horizontal table, and holds water up to 1cm from the top. When a solid cube is placed in the water it is completely submerged, the water rises to the top and 2 cubic cm of water overflows. Calculate the volume of the cube and also the length of its edge.

Solution:

Let the length of each edge of the cube be ‘x’cm

Then, volume of the cube = Volume of water inside the tank + Volume of water that overflowed

$x^{3}=(5 * 5 * 1)+2$

$x^{3}=27$

x = 3 cm

Hence, volume of the cube $=27 \mathrm{~cm}^{3}$

And edge of the cube = 3 cm