//Compression ratio r=5.5; //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; //Peak pressure(in bar) p3=30;