Final answer:
The work done by the gas is equal to zero.
Step-by-step explanation:
To calculate the work done by the gas, we can use the equation:
Work = P(Vf - Vi)
where P is the pressure, Vf is the final volume, and Vi is the initial volume.
Given that the gas is heated from 352 K to 497 K, we need to convert the temperatures to Kelvin:
f = 497 K, i = 352 K
Since the container is rigid, the volume remains constant. Therefore, the work done by the gas is equal to zero, emphasizing the importance of the rigid container in maintaining a constant volume during the process.