summaryrefslogtreecommitdiff
path: root/3819/CH1/EX1.29/Ex1_29.sce
diff options
context:
space:
mode:
Diffstat (limited to '3819/CH1/EX1.29/Ex1_29.sce')
-rw-r--r--3819/CH1/EX1.29/Ex1_29.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3819/CH1/EX1.29/Ex1_29.sce b/3819/CH1/EX1.29/Ex1_29.sce
new file mode 100644
index 000000000..8a4038cd6
--- /dev/null
+++ b/3819/CH1/EX1.29/Ex1_29.sce
@@ -0,0 +1,23 @@
+// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 1-Properties of Fluid
+// Problem 1.29
+
+//Given Data Set in the Problem
+d=4*10^-3
+st_w=0.073575
+st_m=0.51
+SG_m=13.6
+dens_w=998
+dens_m=13.6*1000
+g=9.81
+
+//Calculations
+//CAPILLARY RISE FOR WATER (theta =0,cos 0=1)
+//Using rise=4*surface tension/(density *g *diameter of capillary)
+h=4*st_w/(dens_w*g*d)
+mprintf("The rise for water is %f mm \n",h*1000)
+
+//CAPILLARY RISE FOR MERCURY
+//Using rise=4*surface tension/(density *g *diameter of capillary)
+h=4*st_m*cos(%pi*130/180)/(dens_m*g*d)
+mprintf("The rise for mercury is %f m",h*100)