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 /914/CH10/EX10.3/ex10_3.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 '914/CH10/EX10.3/ex10_3.sce')
-rwxr-xr-x | 914/CH10/EX10.3/ex10_3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/914/CH10/EX10.3/ex10_3.sce b/914/CH10/EX10.3/ex10_3.sce new file mode 100755 index 000000000..19ee26b6c --- /dev/null +++ b/914/CH10/EX10.3/ex10_3.sce @@ -0,0 +1,16 @@ +clc;
+warning("off");
+printf("\n\n example10.3 - pg414");
+// given
+u=1/60; //[m/sec] - velocity
+p=1000; //[kg/m^3] - density
+mu=1*10^-3; //[kg/m*sec] - viscosity
+d=6*10^-2; //[m] - inside diameter of tube
+L=300; //[m] - length of the tube
+Nre=(d*u*p)/(mu);
+disp("therefore the flow is laminar",Nre,"Nre=");
+f=16/Nre;
+disp(f);
+deltap=(4*f)*(L/d)*((p*(u^2))/2);
+printf("\n\n -deltap=%f N/m^2 = %f kPa = %e psi",deltap,deltap*10^-3,deltap*1.453*10^-4);
+
|