summaryrefslogtreecommitdiff
path: root/3819/CH1/EX1.28/Ex1_28.sce
blob: 51438474185fa99c93a2c593928f9182b4ac3305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.28

//Given Data Set in the Problem
d=2.5*10^-3
st_w=0.0725
st_m=0.52
SG_m=13.6
dens_w=1000
dens_m=13.6*1000
g=9.81

//Calculations
//Using rise=4*surface tension/(density *g *diameter of capillary)
//CAPILLARY RISE FOR WATER (theta =0,cos 0=1)
h=4*st_w/(dens_w*g*d)
mprintf("The rise for water is %f cm \n",h*100)

//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 cm",h*100)