Answer:
For a: Work done for the given reaction is 2477.572 J.
For b: Work done for the given reaction is 0 J
Step-by-step explanation:
To calculate the work done for the reaction, we use the equation:

Ideal gas equation follows:

Relating both the above equations, we get:
......(1)
where,
= difference in number of moles of products and reactants =

R = Gas constant = 8.314 J/K.mol
T = temperature =
![25^oC=[273+25]K=298K](https://img.qammunity.org/2020/formulas/chemistry/college/6roip9my7lmduj9zgvg2iw8f5svzc0eagc.png)
The chemical reaction follows:


Putting values in equation 1, we get:

Hence, work done for the given reaction is 2477.572 J.
The chemical reaction follows:


Putting values in equation 1, we get:

Hence, work done for the given reaction is 0 J.