Polytropic State Change of the Ideal Gas