diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2063/CH9/EX9.13/9_13.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2063/CH9/EX9.13/9_13.sce')
-rwxr-xr-x | 2063/CH9/EX9.13/9_13.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2063/CH9/EX9.13/9_13.sce b/2063/CH9/EX9.13/9_13.sce new file mode 100755 index 000000000..9235dad49 --- /dev/null +++ b/2063/CH9/EX9.13/9_13.sce @@ -0,0 +1,16 @@ +clc
+clear
+//Input data
+P1=1;//Initial pressure in bar
+P3=9;//Final pressure in bar
+n=1.3;//Compression index
+
+//Calculations
+W1=(n/(n-1))*(P1*10^5*(((P3/P1)^((n-1)/n))-1));//Work done in compression in a single stage per unit volume per kg of air in N m
+P2=(P1*P3)^(0.5);//Intercooler pressure for perfect intercooling in bar
+W2=2*(n/(n-1))*(P1*10^5*(((P2/P1)^((n-1)/n))-1));//Work done in compression in a two stage compressor per unit volume per kg of air in N m
+Wc=W1-W2;//Saving in work of compression in N m
+nw=((W1-W2)/W1)*100;//Percentage saving in work of compression in percentage
+
+//Output
+printf('Percentage saving in the work of compression of air in two stages instead of single stage is %3.2f percent',nw)
|