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 /779/CH18/EX18.8 | |
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 '779/CH18/EX18.8')
-rwxr-xr-x | 779/CH18/EX18.8/18_8.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/779/CH18/EX18.8/18_8.sce b/779/CH18/EX18.8/18_8.sce new file mode 100755 index 000000000..c16c17b6d --- /dev/null +++ b/779/CH18/EX18.8/18_8.sce @@ -0,0 +1,15 @@ +// For Blower
+m_dot = 1; R = 0.287; T1 = 343;
+P1 = 100; P2 = 2*P1; g = 1.4;
+V_dot = (m_dot*R*T1)/P1;
+PRb = V_dot*(P2-P1);
+disp("kW",PRb,"Power required by the blower is")
+// For van compressor
+P1v = 1; V21 = 0.7 // V2/V1
+P2v = P1v*(1/V12)^g;
+V2_dot = 0.7;
+V1_dot = 0.7*V_dot;
+P3v = 2;
+PRv = ((g*P1v*100*V_dot)/(g-1))*((P2v/P1v)^((g-1)/g)-1) + V1_dot*100*(P3v-P2v);
+disp("kW",PRv,"Power Required by van compressor is")
+
|