Explanation:
It is known that energy balance relation is as follows.
[tex]\Delta E_{system} = E_{in} - E_{out}[/tex]
Also, [tex]W_{in} = \Delta U[/tex]
so, [tex]W_{in} = mC_{v}(T_{2} - T_{1})[/tex]
According to the ideal gas equation,
[tex]T_{2} = T_{1} \frac{P_{2}}{P_{1}}[/tex]
Putting the values into the above equation as follows.
[tex]T_{2} = T_{1} \frac{P_{2}}{P_{1}}[/tex]
= [tex](520R) \frac{40psia}{30psia}[/tex]
= 693.3 R
Now, we will convert the temperature into degree Fahrenheit as follows.
693.3 - 458.67
= [tex]234.63^{o}F[/tex]
From table A-[tex]2E_{a}[/tex]
[tex]C_{p}[/tex] = 0.240 Btu/lbm R and [tex]C_{v}[/tex] = 0.171 Btu/lbm
Now, we will substitute the energy balance as follows.
[tex]W_{in} = mC_{v}(T_{2} - T_{1})[/tex]
= [tex]2 lbm \times 0.171 Btu/lbm R (693.3 - 520)[/tex]
= 59.3 Btu
Thus, we can conclude that final temperature of air is 59.3 Btu.