二、一密閉容器內有 2 莫耳(mole)理想氣體(ideal gas),其體積由 1 公升膨脹至 3 公升。若膨脹過程中壓力固定為 0.5 atm,則氣體所作的功為何?(10 分) (1 atm = 101 kPa)