summaryrefslogtreecommitdiff
path: root/3821/CH14/EX14.11/Example14_11.sce
blob: 207b49291f9049cbc35db6ccb224e2c74c2359ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
////Chapter No 14 Air Standard Cycles
////Example No 14.11 Page No 316
///Find diesel engine air standard efficiency
//input data
clc;
clear;
r=18;   //compression ratio of diesel engine
K=6;    //cut-off ratio of the stroke in%
rho=2.02; 
gamma1=1.4;

///Calculation
//diesel engine air standard efficiency
eta=100*((1-(1/r^(gamma1-1)))*(1/gamma1*(rho^(gamma1-1)/(rho-1))));

//Output
printf('diesel engine air standard efficiency %f percent \n',eta);