diff options
Diffstat (limited to '1457/CH8/EX8.7')
-rwxr-xr-x | 1457/CH8/EX8.7/8_7.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1457/CH8/EX8.7/8_7.sce b/1457/CH8/EX8.7/8_7.sce new file mode 100755 index 000000000..90798148f --- /dev/null +++ b/1457/CH8/EX8.7/8_7.sce @@ -0,0 +1,12 @@ +clc
+//Initialization of variables
+g=52
+Hp=2
+//calculations
+Q=3.48 //cfs
+V6=3.48/0.196
+P=-20.9 //ft
+P2=P*(g/144)
+//results
+printf("Flow rate = %.2f cfs",Q)
+printf("\n Pressure in the pipe = %.2f psi",P2)
|