summaryrefslogtreecommitdiff
path: root/2870/CH5/EX5.5/Ex5_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2870/CH5/EX5.5/Ex5_5.sce
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 '2870/CH5/EX5.5/Ex5_5.sce')
-rwxr-xr-x2870/CH5/EX5.5/Ex5_5.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2870/CH5/EX5.5/Ex5_5.sce b/2870/CH5/EX5.5/Ex5_5.sce
new file mode 100755
index 000000000..eba140162
--- /dev/null
+++ b/2870/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,24 @@
+clc;clear;
+//Example 5.5
+
+//given data
+P1=250;
+T1=700;
+A1=0.2;
+qout=1.2;
+m=10;
+P2=200;
+V2=900;
+
+//from Table A-6E
+v1=2.6883;
+h1=1371.4;
+
+//calculations
+V1=m*v1/A1;
+disp(V1,'the inlet velocity in ft/s');
+// Ein - Eout = dEsystem / dt
+h2=h1-qout-(V2^2 - V1^2)/2/25037;//factor of 25037 to convert to Btu/lbm
+//at this value h2, from Tablw A-6E
+T2=662;
+disp(T2,'exit temperature in F')