summaryrefslogtreecommitdiff
path: root/2066/CH7/EX7.11
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2066/CH7/EX7.11
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2066/CH7/EX7.11')
-rwxr-xr-x2066/CH7/EX7.11/7_11.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2066/CH7/EX7.11/7_11.sce b/2066/CH7/EX7.11/7_11.sce
new file mode 100755
index 000000000..7328292b6
--- /dev/null
+++ b/2066/CH7/EX7.11/7_11.sce
@@ -0,0 +1,24 @@
+clc
+clear
+//Initialization of variables
+d2=4 //in
+d1=3 //in
+e=0.0005 //ft
+mu=3.75e-5 //lb-sec/ft^2
+rho=1.94 //slugs/ft^3
+Q=100 //gal/min
+L=100 //ft
+g=32.2 //ft/s^2
+gam=62.4
+//calculations
+A=%pi/4 *((d2/12)^2 -(d1/12)^2)
+WP=%pi*(d1+d2)/12
+R=A/WP
+RR= 2*R/e
+V= Q/(7.48*60*A)
+Nr=V*4*R*rho/mu
+f=0.035
+hl=f*L/(4*R) *V^2 /(2*g)
+hp=hl*Q/(7.48*60) *gam/550
+//results
+printf("horsepower required = %.2f hp/100 ft",hp)