summaryrefslogtreecommitdiff
path: root/1466/CH23/EX23.2/23_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1466/CH23/EX23.2/23_2.sce')
-rwxr-xr-x1466/CH23/EX23.2/23_2.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1466/CH23/EX23.2/23_2.sce b/1466/CH23/EX23.2/23_2.sce
new file mode 100755
index 000000000..7dd736f60
--- /dev/null
+++ b/1466/CH23/EX23.2/23_2.sce
@@ -0,0 +1,22 @@
+
+
+clc
+//initialisation of variables
+g= 32.2 //ft/sec^2
+h= 50 //ft
+vd= 5 //ft/sec
+A= 60 //degrees
+//CALCULATIONS
+R= h+(vd^2/(2*g))
+x=poly(0,"x")
+vec=roots(x^2-(2*vd/tand(A))*x-R*g)
+v1= vec(1)
+V1= sqrt(4*vd^2+(v1-((2*vd)/tand(A)))^2)
+H1= 0.5*(h+(vd^2/(2*g))-vd-(V1^2/(2*g)))+11.1
+H= V1^2/(2*g)
+b= atand(2*vd/(2*vd/tand(A)))/4
+//RESULTS
+printf ('velocity of the wheel at exit = %.2f ft/sec',v1-0.04)
+printf ('\n Pressure head at outlet = %.1f ft of water',H1)
+printf ('\n velocity head at exit from the vessel = %.1f ft of water',H-0.1)
+printf ('\n inclination of guide vanes = %.f degrees',b)