summaryrefslogtreecommitdiff
path: root/914/CH7/EX7.16
diff options
context:
space:
mode:
Diffstat (limited to '914/CH7/EX7.16')
-rwxr-xr-x914/CH7/EX7.16/ex7_16.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/914/CH7/EX7.16/ex7_16.sce b/914/CH7/EX7.16/ex7_16.sce
new file mode 100755
index 000000000..d2bdeec15
--- /dev/null
+++ b/914/CH7/EX7.16/ex7_16.sce
@@ -0,0 +1,17 @@
+clc;
+warning("off");
+printf("\n\n example7.16 - pg312");
+// given
+T=536.67; //[degR]; - temperature
+R=10.73; //[(lbf/in^2*ft^3)*lb*mol^-1*degR] - gas constant
+p=14.696; //[lbf/in^2];
+g=9.807*3.2808; //[ft/sec^2] - acceleration due to gravity
+M=29; // molecular weight of gas
+pa=(p*M)/(R*T);
+sg=13.45; // specific gravity
+pm=sg*62.4;
+deltaz=15/(2.54*12); //[ft]
+gc=32.174;
+// using the equation p2-p1=deltap=(pm-pa)*g*deltaz
+deltap=(pm-pa)*(g/gc)*deltaz;
+printf("\n\n the pressure drop is %flbf/ft^2",deltap);