summaryrefslogtreecommitdiff
path: root/896/CH5/EX5.8/8.sce
diff options
context:
space:
mode:
Diffstat (limited to '896/CH5/EX5.8/8.sce')
-rwxr-xr-x896/CH5/EX5.8/8.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/896/CH5/EX5.8/8.sce b/896/CH5/EX5.8/8.sce
new file mode 100755
index 000000000..01eb2fa68
--- /dev/null
+++ b/896/CH5/EX5.8/8.sce
@@ -0,0 +1,15 @@
+clc
+//Example 5.8
+//calculate volumetric flow rate using a venturi-meter
+dP=1//psi
+rho_water=62.3//lbm/ft^3
+d1=1//ft area at pt 1 in venturimeter
+A1=(%pi)*d1^2/4//ft^2
+d2=0.5//ft
+A2=(%pi)*d2^2/4//ft^2
+//1ft = 12in
+//1 lbf.s^2 = 32.2 lbm.ft
+v=((2*dP*144*32.2/rho_water)/(1-(A2/A1)^2))^0.5//ft/s
+printf("The velocity of the water flowing through venturimeter is %f ft/s\n",v);
+q=v*A2//ft^3/s
+printf("The volumetric flow rate of water is %f ft^3/s",q); \ No newline at end of file