//Stroke volume(in cc) Vs=1500; //Air fuel ratio AF=16; //Compression ratio r=6; //Part distance travelled by piston when pressure reached is maximum x=1/30; //Temperature a end of compression(in K) T2=350+273; //pressure at end of combustion(in bar) p3=25; //Pressure at end of compression(in bar) p2=8; //GAs constant(in kJ/kg) R=0.287; //Calorific value of fuel(in kJ/kg) CV=42000;