4. (20 pts.) A monatomic ideal gas of N particles expands quasi-statically from volume Vi to V = 2Vi. The initial pressure is given as p1. Assume that dN = 0. Where possible, express your answers in terms of pi and Vi. (a) If the expansion is isothermal, calculate the work done by the gas during this expansion. (b) How much heat was absorbed by the gas if the expansion is isobaric? (c) What was the change in entropy of the gas if the expansion is isobaric? Express your answer in terms of p1, Vi, and T1. (d) If the expansion is adiabatic, what is the final pressure p2?