summaryrefslogtreecommitdiff
path: root/2159/CH1/EX1.11/11.sce
blob: a8f79c93da89933a19d7e64692d6ee992ee427f0 (plain)
1
2
3
4
5
6
7
8
9
10
// problem 1.11
s1=0.8
s2=13.6
z=0.02
w=9810
h2=0.2
h1=0.1
h=h2*s2-h1*s1+(z*h2*(s2-s1))
p=h*w
disp(p,"pressure of the oil in N/m2")