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 /858/CH4/EX4.17 | |
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 '858/CH4/EX4.17')
-rwxr-xr-x | 858/CH4/EX4.17/example_17.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/858/CH4/EX4.17/example_17.sce b/858/CH4/EX4.17/example_17.sce new file mode 100755 index 000000000..2656cc805 --- /dev/null +++ b/858/CH4/EX4.17/example_17.sce @@ -0,0 +1,20 @@ +clc
+clear
+printf("example 4.17 page number 154\n\n")
+
+//to find the pressure loss
+density=998 //in kg/m3
+viscosity=0.0008 //in Pa-s
+d=0.03 //in m
+u=1.2 //in m/s
+
+Re=density*d*u/viscosity;
+
+f=0.0088;
+D=1 //in m
+N=10
+L=3.14*D*N;
+delta_P=(2*f*u^2*L)/d; //in Pa
+delta_P_coil=delta_P*(1+(3.54*(d/D)));
+
+printf("frictional pressure drop = %f kPa",delta_P_coil)
|