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 /914/CH7/EX7.16/ex7_16.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 '914/CH7/EX7.16/ex7_16.sce')
-rwxr-xr-x | 914/CH7/EX7.16/ex7_16.sce | 17 |
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);
|