//number of cylinders K=1 //brake power of engine(in kW) bp=20 //speed of the engine(in rpm) N=6000 //air gas ratio Raf=8 //compression ratio Rc=8 //volumetric efficiency nv=0.7 //indicated thermal efficiency nth=0.33 //indicated mechanical efficiency nm=0.8 //calorific value of hydrogen(in kJ/m^3) CV=11000 //P.S-note that the value of mechanical efficiency given as 0.9 in the question is taken as 0.8 during calculation