Expansion Process of a Perfect Gas