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 /1100/CH16/EX16.2/16_2.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 '1100/CH16/EX16.2/16_2.sce')
-rwxr-xr-x | 1100/CH16/EX16.2/16_2.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/1100/CH16/EX16.2/16_2.sce b/1100/CH16/EX16.2/16_2.sce new file mode 100755 index 000000000..312b87ddd --- /dev/null +++ b/1100/CH16/EX16.2/16_2.sce @@ -0,0 +1,27 @@ +clc
+//initialisation of variables
+w=10000 //lb/hr
+p0=250 //psia
+T1=500 //F
+Pf=1 //psia
+vc=0.949
+dc=1
+h0=1263.4 //btu/lb
+s0=1.5949 //btu/lb R
+v2=276 //cu ft/lb
+//Calculations
+pt=0.55*p0
+disp('from tables')
+hts=1208.2 //btu/lb
+vts=3.415 //cu ft/lb
+h2s=891. //btu/lb
+Vts=sqrt(2*32.174*778*(h0-hts))
+w=w/3600 //lb/sec
+cw=1
+at=w*vts/(cw*Vts)
+printf ('Throat area = %.5f ft^2',at)
+V2=sqrt(2*32.174*778*(h0-h2s))
+eta=0.9
+h2=h0-eta*(h0-h2s)
+a2s=w*v2/(cw*V2)
+printf ('\n Exit area = %.5f ft^2',a2s)
|