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 --- 1052/CH18/EX18.3/183.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 1052/CH18/EX18.3/183.sce (limited to '1052/CH18/EX18.3') diff --git a/1052/CH18/EX18.3/183.sce b/1052/CH18/EX18.3/183.sce new file mode 100755 index 000000000..7807864c4 --- /dev/null +++ b/1052/CH18/EX18.3/183.sce @@ -0,0 +1,17 @@ +clc; +//Example 18.3 +//page no 227 +printf("\n Example 18.3 page no 227\n\n"); +// water is flowing at room temperature +rho=62.4//density of water,lb/ft^3 +meu=6.72e-4//viscosity of water,lb/ft.s +D=0.03125//diameter of pipe +v=10//velocity +R_e=D*v*rho/meu//reynolds no. +printf("\n reynolds no R_e=%f ",R_e); +f=0.0015+0.125/R_e^.30//equation for friction factor +printf("\n friction factor f=%f ",f); +L=30//length of pipe +gc=32.2//gravitational constant +P_drop=2*f*rho*v^2*L/(D*gc)//pressure drop +printf("\n pressure drop P_drop=%f lbf/ft^2 ",P_drop); -- cgit