summaryrefslogtreecommitdiff
path: root/3821/CH7/EX7.7/Example7_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3821/CH7/EX7.7/Example7_7.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3821/CH7/EX7.7/Example7_7.sce')
-rw-r--r--3821/CH7/EX7.7/Example7_7.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/3821/CH7/EX7.7/Example7_7.sce b/3821/CH7/EX7.7/Example7_7.sce
new file mode 100644
index 000000000..31e63f3da
--- /dev/null
+++ b/3821/CH7/EX7.7/Example7_7.sce
@@ -0,0 +1,29 @@
+///Chapter No 7 Fluid Mechanics
+////Example 7.7 Page No:117
+///Find Density of oil
+///Input data
+clc;
+clear;
+A=6*10^-2; //Space between two square plates in mm
+dy=8*10^-3; //Thickness of fluid in mm
+u1=0; //Lower pate is stationary
+u2=2.4; //Upper plate in m/s
+F=5; //Speed of force in N
+s=1.6; //Specific gravity of the liquid
+dow=1000; //Density of water Kg/m**3
+
+
+//(1)Calculation
+du=u2-u1; //change in velocity in m/s
+tau=F/((A)^2); //shear stress N/m**2
+mu=tau/(du/dy); //Newton's law of viscosity in Ns/m**2 or poise
+rho=s*dow; //Density of oil in kg/m**3
+v=mu/rho; ///kinematic viscosity is given by m**2/s or stoke
+
+
+///Output
+printf('change in velocity=%f m/s \n ',du);
+printf('shear stress=%f N/m^2 \n ',tau);
+printf('Newtons law of viscosity=%f Ns/m^2 \n',mu);
+printf('Density of oil=%f kg/m^3 \n ',rho);
+printf('kinematic viscosity=%f m^2/s ',v);