//Compression ratio r=6; //Ratio specific heats for air y=1.4; //Pressure at beginning of compression(in bar) p1=1; //Temperature at beginning of compression(in K) T1=27+273; //Heat added during the constant volume combustion process(in kJ/kg) qs=1170; //Specific heat at constant volume(in kJ/kgK) Cv=0.717;