diff options
Diffstat (limited to '1457/CH3/EX3.1/3_1.sce')
-rwxr-xr-x | 1457/CH3/EX3.1/3_1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1457/CH3/EX3.1/3_1.sce b/1457/CH3/EX3.1/3_1.sce new file mode 100755 index 000000000..9122e4aa8 --- /dev/null +++ b/1457/CH3/EX3.1/3_1.sce @@ -0,0 +1,15 @@ +clc
+//Initialization of variables
+Q=0.5 //cfs
+d1=8 //in
+d2=4 //in
+R=2 //in
+h=0.59 //in
+//calculations
+Aa=%pi*(d1/12)^2 /4
+Va=Q/Aa
+Ab=2*%pi*R*h/144
+Vb=Q/Ab
+//results
+printf("Average velocity at section A =%.2f fps ",Va)
+printf("\n Average velocity at section B=%.2f fps ",Vb)
|