summaryrefslogtreecommitdiff
path: root/2159/CH1/EX1.15/15.sce
blob: 5b8b07273857da546d34f85c72a85ba73d629ab6 (plain)
1
2
3
4
5
6
7
8
9
10
//problem 1.15
w=9810
h=2
l=2
b=1
a=l*b
p=w*a*h
h1=h+(b*l*l*l/(12*b*l*l))
disp(p,"total pressure")
disp(h1,"location of its centre of pressure")