summaryrefslogtreecommitdiff
path: root/51/CH1/EX1.8/1_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '51/CH1/EX1.8/1_8.sce')
-rwxr-xr-x51/CH1/EX1.8/1_8.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/51/CH1/EX1.8/1_8.sce b/51/CH1/EX1.8/1_8.sce
new file mode 100755
index 000000000..e4399c35a
--- /dev/null
+++ b/51/CH1/EX1.8/1_8.sce
@@ -0,0 +1,20 @@
+clc;
+clear;
+T=20;//degree celcius
+h=1;//mm
+//h=(2*st*cos(x)/(sw*R))
+//where st= nsurface tension, x= angle of contact, sw= specific weight of liquid, R= tube radius
+st= 0.0728;//N/m
+sw=9.789;//kN/m^3
+x=0;
+R=(2*st*cos(x))/(sw*1000*h/1000);//m
+D=2*R*1000;//mm
+disp("mm",D,"minimum required tube diameter= ")
+h=0.1:0.1:2;
+for i=0.1:0.1:2
+ R=(2*st*cos(x))/(sw*1000*i/1000);
+ dia(i*10)=2*R*1000;
+end
+
+plot2d(h,dia,rect=[0,0,2,100])
+xtitle("D vs h","h, mm", "D, mm")