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 /2510/CH6/EX6.14/Ex6_14.sce | |
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 '2510/CH6/EX6.14/Ex6_14.sce')
-rwxr-xr-x | 2510/CH6/EX6.14/Ex6_14.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2510/CH6/EX6.14/Ex6_14.sce b/2510/CH6/EX6.14/Ex6_14.sce new file mode 100755 index 000000000..de7664586 --- /dev/null +++ b/2510/CH6/EX6.14/Ex6_14.sce @@ -0,0 +1,13 @@ +//Variable declaration: +u = 6.72*10**-4 //Viscosity of water (lb/ft.s) +p = 62.4 //Density of water (lb/ft^3) +//For laminar flow: +Re = 2100.0 //Reynolds number +//From table 6.2, we have: +D = 2.067/12.0 //Inside diameter of pipe (ft) + +//Calculation: +V = Re*u/D/p //Average velocity of water flowing (ft/s) + +//Result: +printf("The average velocity of water flowing is: %.2f ft/s.",V) |