summaryrefslogtreecommitdiff
path: root/1364/CH14/EX14.2.2/14_2_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1364/CH14/EX14.2.2/14_2_2.sce
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 '1364/CH14/EX14.2.2/14_2_2.sce')
-rwxr-xr-x1364/CH14/EX14.2.2/14_2_2.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/1364/CH14/EX14.2.2/14_2_2.sce b/1364/CH14/EX14.2.2/14_2_2.sce
new file mode 100755
index 000000000..3dfeb5bd4
--- /dev/null
+++ b/1364/CH14/EX14.2.2/14_2_2.sce
@@ -0,0 +1,23 @@
+clc
+//initialisation of variables
+w= 500 //rev
+r1= 1.21 //ft
+r2= 0.65 //ft
+a= 12 //deg
+b= 165 //deg
+g= 32.2 //ft/sec^2
+n= 0.88
+w1= 62.3 //lbf/ft^3
+n= 0.88
+//CALCULATIONS
+u= w*(r1+r2)*2*%pi/(2*60)
+q= u*tand(a)
+wo= u+q*cotd(b)
+W= (u*wo)/g
+H= n*W
+Q= %pi*(r1^2-r2^2)*q*12400/34
+Ps= w*Q*33.2*H*62.2/(550*12400*457.7*n)
+//RESULTS
+printf (' Head= %.1f ft',H)
+printf (' \n discharge rate= %.f gal/min',Q)
+printf (' \n overall efficiency= %.1f h.p',Ps)