summaryrefslogtreecommitdiff
path: root/479/CH10/EX10.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /479/CH10/EX10.5
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 '479/CH10/EX10.5')
-rwxr-xr-x479/CH10/EX10.5/Example_10_5.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/479/CH10/EX10.5/Example_10_5.sce b/479/CH10/EX10.5/Example_10_5.sce
new file mode 100755
index 000000000..3bc48b05a
--- /dev/null
+++ b/479/CH10/EX10.5/Example_10_5.sce
@@ -0,0 +1,22 @@
+//Chemical Engineering Thermodynamics
+//Chapter 10
+//Compressor
+
+//Example 10.5
+clear;
+clc;
+
+//Given
+P1 = 1;//Initial pressure in Kgf/sq cm
+P4 = 200;//Final pressure in Kgf/sq cm
+n = 4;//no of stages
+
+//To find out the presure between stages
+r = (P4/P1)^(1/n);//Compression ratio
+P2 = r*P1;
+mprintf('The pressure after 1st stage is %f Kgf/sq cm',P2);
+P3 = r*P2;
+mprintf('\n The pressure after 2nd stage is %f Kgf/sq cm',P3);
+P4 = r*P3;
+mprintf('\n The pressure after 3rd stage is %f Kgf/sq cm',P4);
+//end \ No newline at end of file