diff options
Diffstat (limited to '3785/CH3/EX3.6/Ex3_6.sce')
-rw-r--r-- | 3785/CH3/EX3.6/Ex3_6.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3785/CH3/EX3.6/Ex3_6.sce b/3785/CH3/EX3.6/Ex3_6.sce new file mode 100644 index 000000000..6f3578b76 --- /dev/null +++ b/3785/CH3/EX3.6/Ex3_6.sce @@ -0,0 +1,10 @@ +// Example 3_6
+clc;funcprot(0);
+// Given data
+Q=1*10^3;// The water volume flow rate in m^3/s
+D=2;// The diameter of the fire hose at exit nozzle in inch
+
+// Calculation
+V=(4*(Q/60)*3.785*10^-3)/(%pi*(D*2.54*10^-2)^2);// The velocity of the water leaving the nozzle in m/s
+// We have used table 1.6 to convert gallons to cubic meters.
+printf("\nThe velocity of the water leaving the nozzle,v=%2.2f m/s",V);
|