//Compression ratio r=5.5; //Temperature at beginning of compression(in K) T1=300; //Pressure at beginning of compression(in bar) p1=1; p4n=1; //Peak pressure(in bar) p3=25; //Ratio of specific heats y=1.4;