From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3758/CH1/EX1.18/Ex1_18.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 3758/CH1/EX1.18/Ex1_18.sce (limited to '3758/CH1/EX1.18/Ex1_18.sce') 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'); -- cgit