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.10 | |
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.10')
-rwxr-xr-x | 779/CH18/EX18.10/18_10.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/779/CH18/EX18.10/18_10.sce b/779/CH18/EX18.10/18_10.sce new file mode 100755 index 000000000..95e7d7eae --- /dev/null +++ b/779/CH18/EX18.10/18_10.sce @@ -0,0 +1,14 @@ +T1 = 278; P21 = 2.5; // P2/P1
+cp = 1.005; ns = 0.84; V2 = 120;
+T2s = T1*(P21)^((g-1)/g);
+T2 = T1 + (T2s-T1)/ns;
+mg = 0.04*(13+1);
+P = mg*cp*(T2-T1);
+T02 = T2 + V2^2/(2*cp*1000);
+P1 = 0.6;
+P2 = P21*0.6;
+P02 = P2*(T02/T2)^(g/(g-1));
+disp("kW",P,"Power required to drive the compressor is")
+disp("K",T02,"Stagnation temperature is")
+disp("bar",P02,"Stagnation pressure is")
+
|