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 /746/CH8/EX8.07 | |
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 '746/CH8/EX8.07')
-rwxr-xr-x | 746/CH8/EX8.07/8_07.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/746/CH8/EX8.07/8_07.sce b/746/CH8/EX8.07/8_07.sce new file mode 100755 index 000000000..cc05e2cd7 --- /dev/null +++ b/746/CH8/EX8.07/8_07.sce @@ -0,0 +1,10 @@ +//Volume low//
+pathname=get_absolute_file_path('8.07.sce')
+filename=pathname+filesep()+'8.07-data.sci'
+exec(filename)
+//Velocity(in ft/sec):
+V2=sqrt(2*g*l/(f*((L+l)/D*12+8)+1))
+//Volume flow rate(in gpm):
+Q=V2*%pi*(D/12)^2/4*7.48*60
+printf("\n\nRESULTS\n\n")
+printf("\n\nVolume low rate: %.3f\n\n",Q)
|