summaryrefslogtreecommitdiff
path: root/1460/CH11/EX11.5/11_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1460/CH11/EX11.5/11_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 '1460/CH11/EX11.5/11_5.sce')
-rwxr-xr-x1460/CH11/EX11.5/11_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1460/CH11/EX11.5/11_5.sce b/1460/CH11/EX11.5/11_5.sce
new file mode 100755
index 000000000..bc3e2eee0
--- /dev/null
+++ b/1460/CH11/EX11.5/11_5.sce
@@ -0,0 +1,17 @@
+clc
+//initialization of variables
+P1=100 //lb/in^2
+T1=500+460 //R
+P2=15 //lb/in^2
+eta=0.95
+A=1 //in^2
+gamma=1.4
+//calculations
+Ve=2200 //ft/sec
+V2=eta*Ve
+T2=T1*(1-eta*(1-(P2/P1)^((gamma-1)/gamma)))
+vexit=53.3*T2/(144*P2)
+wdot=A*V2/(144*vexit)
+//results
+printf("Exit velocity = %.1f ft^3/lbm",vexit)
+printf("\n Mass flow = %.3f lbm/sec",wdot)