Sorry I'm late.
The problem can be approximated well by assuming an ideal gas under adiabatic expansion (depending on the gas being used). CO2 and Air will be fine for this method. There are two problems though, since the firing mechanism is not specified:
If a fixed volume of CO2 is...