//Quantity of coal gas used(in m^/minute) v=0.3; //Atmospheric pressure(in bar) Pa=1; //Ambient temperature(in K) Ta=273; //Final temperature(in K) T=290; //No of explosion F=100; //Mass of air(in kg/min) m=3; //Gas constant(in J/kgK) R=287; //Ambient temperature(in K) Ta=273; //No of missed cycles Nm=20; //Total no of cycles Ntot=120; //Stroke of the engine(in m) L=0.5; //Bore of the engine(in m) D=0.25;