diff options
Diffstat (limited to '1727/CH7/EX7.21')
-rwxr-xr-x | 1727/CH7/EX7.21/7_21.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1727/CH7/EX7.21/7_21.sce b/1727/CH7/EX7.21/7_21.sce new file mode 100755 index 000000000..9d8579ea5 --- /dev/null +++ b/1727/CH7/EX7.21/7_21.sce @@ -0,0 +1,19 @@ +clc
+//Initialization of variables
+e=0.8
+output=400 //kW
+H=150 //m
+rho=1000
+g=9.81
+f=0.028
+l=1250 //m
+//calculations
+gam=rho*g
+inpu=output/e
+Q=inpu*10^3 /(2/3 *gam*H)
+hl=1/3 *H
+d5= f*l*Q^2 /(2*g* %pi/4 * %pi/4 *hl)
+d=d5^(1/5)
+//results
+printf("Smallest diameter of pen stock = %d cm",d*100)
+
|