summaryrefslogtreecommitdiff
path: root/1793/CH9/EX9.2/9q2.sce
blob: e602f34d16a044aab677d75b9f4e2316af4da009 (plain)
1
2
3
4
5
6
7
8
9
10
clc
//initialisation of variables
h= 20 //ft
g= 120 //kg/ft^3
h1= 12 //ft
w= 62.4 //kg/ft^3
//calculations
H= h-(h1*w/g)
//results
printf ('maximu depth that can be made in clay = % 2f ft ',H)