Answer:
The electrical work for the process is 256.54 Btu.
Step-by-step explanation:
From the ideal gas equation:
n = PV/RT
n is the number of moles of air in the tank
P is initial pressure of air = 50 lbf/in^2 = 50 lbf/in^2 × 4.4482 N/1 lbf × (1 in/0.0254m)^2 = 344736.2 N/m^2
V is volume of the tank = 40 ft^3 = 40 ft^3 × (1 m/3.2808 ft)^3 = 1.133 m^3
T is initial temperature of air = 120 °F = (120-32)/1.8 + 273 = 321.9 K
R is gas constant = 8.314 J/mol.k
n = 344736.2×1.133/8.314×321.9 = 145.94 mol
The thermodynamic process is an isothermal process because the temperature is kept constant.
W = nRTln(P1/P2) = 145.94×8.314×321.9×ln(50/25) = 145.94×8.314×321.9×0.693 = 270669 J = 270669 J × 1 Btu/1055.06 J = 256.54 Btu