It's very simple... if we remember value of Universal Gas Constant R and Ideal Gas Law, so...
Ideal Gas Law pV = nRT, where: p - pressure (in kPa), V - volume (in L), n - number of moles (in mol), R - universal cas constant (in kPa * L / mo l* K), T - temperature (in K)
n = m/M, where: n - number of moles, m - mass (in grams), M - molar mass of ingredient (in g/mol) - you find this at Periodic Table.
The volume of the gas will not change because the metal can is limiting it
Explanation:
Insead, Gay-Lussac's law tells us that the pressure will increase with the temprature unil the can eventually explodes, then allowing the volume to rapidly increase.