Answer:
![2.5\cdot 10^6 J](https://img.qammunity.org/2020/formulas/physics/middle-school/dqxp7v2yfd7jklasaiq0adfubkori8s22z.png)
Step-by-step explanation:
According to the 1st law of thermodynamics, we have:
![\Delta U = Q-W](https://img.qammunity.org/2020/formulas/physics/high-school/bmgmh4pcgq81r0whd8l0x7ylcz95kuxrom.png)
where
is the change in internal energy of the system
Q is the heat absorbed by the system
W is the work done by the system
We also know the change in internal energy of a system only depends on the change in temperature:
![\Delta U \propto \Delta T](https://img.qammunity.org/2020/formulas/physics/high-school/14r30z7vvn9dv8r5ax2m2j5rixnunz219w.png)
Since here the temperature of the air remains constant, the change in internal energy is zero:
![\Delta T=0 \rightarrow \Delta U = 0](https://img.qammunity.org/2020/formulas/physics/middle-school/ifo9v7bl4iyyb3792r8uprdgon6b36fa7u.png)
So the first equation becomes
![Q=W](https://img.qammunity.org/2020/formulas/physics/middle-school/rwl50t6a7o0ite7yewg9vblgl1oxoo4jww.png)
The work done by the system here is
![W=2.5\cdot 10^6 J](https://img.qammunity.org/2020/formulas/physics/middle-school/ajyio4smdpmhaf20lxxj2z348od7u3acv3.png)
Therefore, the heat added to the system is
![Q=W=2.5\cdot 10^6 J](https://img.qammunity.org/2020/formulas/physics/middle-school/utr7fs4luowjy7yjhrszmjn81bbyy6h2zg.png)