summaryrefslogtreecommitdiff
path: root/1460/CH13/EX13.2/13_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1460/CH13/EX13.2/13_2.sce')
-rwxr-xr-x1460/CH13/EX13.2/13_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1460/CH13/EX13.2/13_2.sce b/1460/CH13/EX13.2/13_2.sce
new file mode 100755
index 000000000..486877262
--- /dev/null
+++ b/1460/CH13/EX13.2/13_2.sce
@@ -0,0 +1,11 @@
+clc
+//initialization of variables
+A=0.3 //ft^2
+P=30 //lb/in^2
+T=160+460 //R
+Mn=0.82
+g=1.4
+//calculations
+w=A*144*P*sqrt(g*32.2) *Mn*(1+ (g-1)/2 *(Mn)^2)^(-3) /sqrt(53.3*T)
+//results
+printf("Mass flow = %.1f lbm/sec",w)