diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3758/CH1/EX1.18/Ex1_18.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3758/CH1/EX1.18/Ex1_18.sce')
-rw-r--r-- | 3758/CH1/EX1.18/Ex1_18.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3758/CH1/EX1.18/Ex1_18.sce b/3758/CH1/EX1.18/Ex1_18.sce new file mode 100644 index 000000000..d87620729 --- /dev/null +++ b/3758/CH1/EX1.18/Ex1_18.sce @@ -0,0 +1,17 @@ +clc;
+d=2; //diameter of glass tube in mm
+r=(d/2)*10^-1 // radius of glass tube in cm
+T=0.0075*10^-2; // surface tension of water in kg/cm
+T1=0.052*10^-2; // surface tension of mercury in kg/cm
+// calculating capillary rise for water
+w=1000*10^-6; // specific weight of water in kg/cm^3
+s=1; //specific gravity of water
+theta=0; // angle of contact between liquid and tube
+h=(2*T*cos(theta))/(s*w*r); // calculating height of capillary rise
+printf('height of capillary rise in water is %f cm\n',h);
+// calculating capillary rise for mercury
+s=13.6; //specific gravity of mercury
+theta=130; // angle of contact between mercury and tube
+h=(2*T1*cos(theta*(3.14/180)))/(s*w*r); // calculating height of capillary rise
+printf('height of capillary rise in mercury is %f cm/n ',h);
+disp('negative sign indicates decrease in height of mercury');
|