You would use the ideal gas equation which is Pv=nRt (r=constant=8.314) and (n=moles) and once you’ve found the number of moles you’d do mass= moles* r
P=2 atmospheres (we need this in pascals)
So 2*101325= 202650pa
And we need temperature in kelvin
30+273=303c
Rearrange the ideal gas equation to find moles
n=Pv/nRt
n=202650*0.1/8.314*303
n = 8.044405595
Mass= 8.04*44(molar mass of CO2)
= 352g
If you’re American you would do this differently as I’m a 16 year old at college in the UK
You would keep the atmospheres at 2 but you would change the volume to litres =100L and you would use the atmospheres gas constant= 0.0821
n= 2*100/0.0821*303
n=8.039780836
Mass = 8.04*44
=354g
There is a slight variation in both but that is normal if you’re American use the 2nd answer