"Suppose a hollow cube to be filled with some fluid (water or steam) at a given pressure, and to have…