//Compression ratio of the engine r=10; //Temperature at start of compression(in K) T1=310; //Pressure at start of compression(in bar) p1=1; //Amount of heat addded during the cycle(in kJ/kg) Hs=2730; //Maximum pressure(in bar) p3=70; //Gas constant(in J/kgK) R=287;