//Compression ratio r=10; //Maximum pressure(in bar) p4=70; p3=70; //Total heat supplied(in kJ/kg) Htot=1680; //Initial pressure(in bar) p1=1; //Initial temperature(in K) T1=373; //Specific heat at constant pressure(in kJ/kgK) Cp=1.004; //Specific heat at constant volume(in kJ/kgK) Cv=0.717;