summaryrefslogtreecommitdiff
path: root/1226/CH17/EX17.6/EX17_6.sce
blob: 5776d08c63c63c8f4003d36c376ec881b1f3afa2 (plain)
1
2
3
4
5
6
7
8
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:")