Suppose 2.00 m^3 of air, which is considered an ideal gas, is initially at a pressure of 101.3 kPa and a temperature of 20.0 C. The air is compressed at a constant temperature in a closed system to a pressure of 0.500 MPa.
a) How much work is done on the air to compress it?
b) How much energy is transferred as heat during the compression process?