To answer this item, it is assumed that the gas in the cylinder is ideal such that it follows the equation,
PV = nRT
when V is to be calculated,
V = nRT/P
V = (4)(0.0821 L.atm/molK)(300 K) / (400 kPa/101.325 kPa/atm)
V = 24.95 L
Thus, the volume of gas in the cylinder is 24.95 L.