summaryrefslogtreecommitdiff
path: root/1226/CH20/EX20.27
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1226/CH20/EX20.27
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 '1226/CH20/EX20.27')
-rwxr-xr-x1226/CH20/EX20.27/EX20_27.jpgbin0 -> 131769 bytes
-rwxr-xr-x1226/CH20/EX20.27/EX20_27.sce18
2 files changed, 18 insertions, 0 deletions
diff --git a/1226/CH20/EX20.27/EX20_27.jpg b/1226/CH20/EX20.27/EX20_27.jpg
new file mode 100755
index 000000000..acfb6c9c7
--- /dev/null
+++ b/1226/CH20/EX20.27/EX20_27.jpg
Binary files differ
diff --git a/1226/CH20/EX20.27/EX20_27.sce b/1226/CH20/EX20.27/EX20_27.sce
new file mode 100755
index 000000000..9c45d9281
--- /dev/null
+++ b/1226/CH20/EX20.27/EX20_27.sce
@@ -0,0 +1,18 @@
+clc;funcprot(0);//EXAMPLE 20.27
+// Initialisation of Variables
+ns=3;......//No of stages
+p1=1.05;......//Intake pressure in bar
+pd=40;..........//Delivery pressure in bar
+V=3;..........//Volume of air xupplied per min in m^3
+n=1.25;........//Compression index
+//Calculations
+Wd=((ns*n)/(n-1))*p1*V*10^5*(((pd/p1)^((n-1)/(ns*n)))-1);..........//Work done per min in Nm
+disp(Wd,"Work done in Nm:")
+isoWd=10^5*p1*V*log(pd/p1);..........//Isothermal work done in Nm
+disp(isoWd,"Isothermal work done in Nm:")
+etaiso=isoWd/Wd;...............//Isothermal efficiency
+disp(etaiso*100,"Isothermal efficiency in %:")
+wdss=((n)/(n-1))*p1*V*10^5*(((pd/p1)^((n-1)/(n)))-1);..........//Single stage Work done per min in Nm
+disp(wdss,"Single stage work done per min in Nm:")
+perws=(wdss-Wd)/wdss;.......//Percentage of work saved
+disp(perws*100,"Percentage of work saved:")