diff options
Diffstat (limited to '1280/CH5/EX5.11/5_11.sce')
-rwxr-xr-x | 1280/CH5/EX5.11/5_11.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1280/CH5/EX5.11/5_11.sce b/1280/CH5/EX5.11/5_11.sce new file mode 100755 index 000000000..0f7cb5693 --- /dev/null +++ b/1280/CH5/EX5.11/5_11.sce @@ -0,0 +1,13 @@ +clc
+//initialisation of variables
+Q= 15 //gpm
+d= 1 //in
+s= 0.85
+v= 0.08 //N
+L= 400 //ft
+//CALCULATIONS
+V= Q*4/(%pi*d^2*3.12)
+Nr= 12*V*2*d/v
+h= .43*s*v*L*V/d^2
+//RESULTS
+printf ('Pressure drop = %.2f psi',h)
|