clc;funcprot(0);//EXAMPLE 17.6 // Initialisation of Variables Cm=50150;............................//Heating value of methane in kJ/kg Co=44880;............................//Heating value of octane in kJ/kg //Calculations //Since Energy supplied is proportional to mass of fuel supplied time calorific value of the fuel supplied ratioP=Cm/Co;.........................//Ratio of the power input of the engine with methane fuel to that with octane disp(ratioP,"Ratio of the power input of the engine with methane fuel to that with octane:")