1.00 mole of an ideal gas (Cv,m=12.47 J mol-1 K-1) is initially at 300 K and in 10 L and is expanded to 20 L in two different ways described below. Compute w, q, deltaU, delta S, and delta S total for both of these two processes.
a) Isothermally and reversibly
b) Isothermally against a constant external pressure of 0.5 atmospheres.