summaryrefslogtreecommitdiff
path: root/551/CH13/EX13.17
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /551/CH13/EX13.17
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '551/CH13/EX13.17')
-rwxr-xr-x551/CH13/EX13.17/17.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/551/CH13/EX13.17/17.sce b/551/CH13/EX13.17/17.sce
new file mode 100755
index 000000000..ef5ba6174
--- /dev/null
+++ b/551/CH13/EX13.17/17.sce
@@ -0,0 +1,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)