//Volume at end of compression v2=1; //Pressure at x% of compression(in bar) p1=1.3; x=0.3 //Pressure at y% of compression (in bar) p2=2.6; yn=0.7 //Calorific Value (in kJ / kG) CV=42000; //Relative Efficiency nr=0.5; //Specific heat constant y=1.4; //Compression follows the law pv^1.3=const n=1.3;