//Initial pressure(in bar) p1=1.03; //Temperature at the beginning of compression(in K) T1=300; //Pressure at start of expansion(in bar) p2=47; //Heat supplied during the cycle(in kJ/kg) Hs=545; //Specific heat a constant pressure(in kJ/kgK) Cp=1.004; //Ratio of specific heats y=1.4;