//Brake thermal efficiency nbth=0.3; //Indicated power(in kW) ip=40; //Mechanical efficiency at half load nmh=0.65; //No of cylinders k=4; //Stroke volume(in cc) Vsf=1000; //Compression ratio r=8;