Compute the change in entropy for 0.5moles of an ideal gas with a temperature independent specific heat capacity of cp, m=2R that undergoes an irreversible change between each pair of states listed below.
a. (10 atm, 0.1L) -->(2.5 atm, 0.4L)
b. (100K, 3 L)-->(150K, 2L)