n = V/Vm
Where
n is mol
V is volume
Vm is molar volue
So applying to the above equation, find the mols
n = 5000dm³/22.4dm³mol-¹
= 223.214mol of CO2
then apply the equation n=m/M where
m is mass
M is molar mass
therefore :
m = 223.214×44
= 9821.416g of CO2