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.18 | |
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.18')
-rwxr-xr-x | 858/CH4/EX4.18/example_18.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/858/CH4/EX4.18/example_18.sce b/858/CH4/EX4.18/example_18.sce new file mode 100755 index 000000000..5f7d40a9f --- /dev/null +++ b/858/CH4/EX4.18/example_18.sce @@ -0,0 +1,20 @@ +clc
+clear
+printf("example 4.18 page number 154\n\n")
+
+//to find pressure drop per unit length
+
+b=0.050 //in m
+a=0.025 //in m
+d_eq=b-a //in m
+density=1000 //in kg/m3
+u=3 //in m/s
+viscosity = 0.001
+
+Re=d_eq*u*density/viscosity;
+
+e=40*10^6 //in m
+f=0.0062;
+P_perunit_length=2*f*density*u^2/d_eq; //in Pa/m
+
+printf("pressure per unit length = %f Pa/m",P_perunit_length)
|