summaryrefslogtreecommitdiff
path: root/3720/CH2/EX2.5/Ex2_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3720/CH2/EX2.5/Ex2_5.sce')
-rw-r--r--3720/CH2/EX2.5/Ex2_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3720/CH2/EX2.5/Ex2_5.sce b/3720/CH2/EX2.5/Ex2_5.sce
new file mode 100644
index 000000000..3a1d407a6
--- /dev/null
+++ b/3720/CH2/EX2.5/Ex2_5.sce
@@ -0,0 +1,14 @@
+// Example 2_5
+clc;clear;funcprot(0);
+// Given values
+T=20;// degree celsius
+sigma_s=0.073; // the surface tension of water in N/m
+phi=0; // the contact angle of water with glass in degree
+rho=1000;// kg/m^3
+g=9.81;// m/s^2
+R=0.3*10^-3; // Radius of glass tube in m
+
+//Calculation
+h=((2*sigma_s)/(rho*g*R))*cos(phi);// the capillary rise of water in m
+h=h*100;// m to cm
+printf('The capillary rise of water in a tube h=%0.1f cm\n',h);