summaryrefslogtreecommitdiff
path: root/3785/CH5/EX5.12
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3785/CH5/EX5.12
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3785/CH5/EX5.12')
-rw-r--r--3785/CH5/EX5.12/Ex5_12.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3785/CH5/EX5.12/Ex5_12.sce b/3785/CH5/EX5.12/Ex5_12.sce
new file mode 100644
index 000000000..f6d099d2c
--- /dev/null
+++ b/3785/CH5/EX5.12/Ex5_12.sce
@@ -0,0 +1,19 @@
+// Example 5_12
+clc;funcprot(0);
+// Given data
+D_s=1;// The diameter of jet in inch
+D=3;// The inside diameter of a pipe in inch
+Q_s=100;// The jet volumetric flow rate in GPM (gallons per minute)
+Q_1=500;// The volumetric flow rate in GPM
+rho=1*10^3;// The density of water in kg/m^3
+
+// Calculation
+A_s=(%pi/4)*(D_s*2.54*10^-2)^2;// m^2
+A=9*A_s;// m^2
+Q_s=(Q_s*3.785*10^-3)/60;// m^3/s
+Q_1=5*Q_s;// m^3/s
+V_1=Q_1/(A-A_s);// m/s
+V_s=Q_s/A_s;// m/s
+// Assume dp=p_2-p_1;
+dp=(A_s/A)*(1-(A_s/A))*rho*(V_s-V_1)^2;// The pressure rise in the jet pump in Pa
+printf("\nThe pressure rise in the jet pump,p_2-p_1=%1.3e Pa",dp);