summaryrefslogtreecommitdiff
path: root/3758/CH1/EX1.18
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3758/CH1/EX1.18
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 '3758/CH1/EX1.18')
-rw-r--r--3758/CH1/EX1.18/Ex1_18.sce17
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');