An ideal gas is subjected to cyclic process involving four thermodynamic states