diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1457/CH8/EX8.7 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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)
|