From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2510/CH6/EX6.14/Ex6_14.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 2510/CH6/EX6.14/Ex6_14.sce (limited to '2510/CH6/EX6.14/Ex6_14.sce') 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) -- cgit