summaryrefslogtreecommitdiff
path: root/2744/CH8/EX8.6/Ex8_6.sce
blob: 458650568a09355a2b94ad843f90bb0da54f4a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear;
clc;
h = 80;// feet
p = 28;// lb. per sq.foot
rho = 126;// lb. per cubic foot
p_0 = rho*h/2240;// tons-ft^2
p_max = 7;// tons/ft^2
d = 4;// feet
p_b = p_max - p_0;// tons/ft^2
D = sqrt(3*p*h^2 /(2*p_b*2240) +sqrt(d^4 + (3*p*h^2 /(2*p_b*2240))^2));// feet
t = 0.5*(D-d);// feet
printf('The necessary thickness is, t = %d feet',round(t));