//Inlet pressure(in bar) p1=1; //Inlet temperature(in K) T1=290; //Pressure at the end of compression sroke(in bar) p2=35; //Expansion ratio re=5; //Ratio of specific heats y=1.4; //Specific heat at constant pressure(in kJ/kg) Cp=1.004; //Specific heat at constant volume(in kJ/kg) Cv=0.717;