summaryrefslogtreecommitdiff
path: root/2159/CH1/EX1.1/1.sce
blob: 38f589de9ce2976727e2d69ab95f7eac14c84143 (plain)
1
2
3
4
5
6
7
8
9
//problem 1.1
p=343350 //pressure at any point in pa
w=9810 //gravitational constant
h1=(p/w)
disp(h1 ,"pressure in term of height of water(m)")
s1=1
s2=13.6
h2=h1*s1/s2
disp(h2 ,"pressure in term of height of mercury(m)")