From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 914/CH7/EX7.16/ex7_16.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 914/CH7/EX7.16/ex7_16.sce (limited to '914/CH7/EX7.16') 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); -- cgit