summaryrefslogtreecommitdiff
path: root/551/CH13/EX13.17/17.sce
blob: ef5ba61743f2603e52ed085a8979f6feca7d87fe (plain)
1
2
3
4
5
6
7
8
9
10
clc
r=15;
y=1.4;

//V3-V2=0.06*(V1-V2)
rho=1.84; //cut off ratio rho=V3/V2

n_diesel=1-1/y/r^(y-1)*((rho^y-1)/(rho-1));
disp("efficiency =")
disp(n_diesel)